Jump to content

  • Log In with Google      Sign In   
  • Create Account


C++ what other IDE other than VC++


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
70 replies to this topic

#1 MARS_999   Members   -  Reputation: 1237

Like
0Likes
Like

Posted 30 May 2012 - 07:57 PM

I am not liking the VC++ 2011 express edition news, where you can only build metro code unless you buy the $500 version now...

So I am looking to move to some other IDE and would like it to be C++11 compliant and have intellisense if possible.

I have used codeblocks, but from what I see must be dead? 2010 last build on the website, I admit I haven't looked into it much as I been using VC++ 2010 express.

If everyone suggests Codeblocks, then how do I get the syntax to be C++11 aware? color highlighted keywords?

Thanks!

Sponsor:

#2 bronxbomber92   Members   -  Reputation: 275

Like
0Likes
Like

Posted 30 May 2012 - 08:31 PM

I'm not a Windows developer, but I believe Eclipse is an option. Also, I've heard great things about Sublime Text 2 which has plugins to integrate with Clang for autocompletion and GDB for debugging. I wouldn't know what the setup process would be like on Windows though.

#3 MARS_999   Members   -  Reputation: 1237

Like
0Likes
Like

Posted 30 May 2012 - 09:11 PM

Sorry forgot to state that I would like this to be cross platform also....

Thanks!

#4 Ashaman73   Crossbones+   -  Reputation: 6686

Like
0Likes
Like

Posted 30 May 2012 - 09:12 PM

but I believe Eclipse is an option.

I tested it a few years back (~2004), it was the reason I bought Visual Studio 2003 back then. I still have nightmares. At it times it was not on the level of the java IDE, maybe nowadays it is better. I would spend 500$, VS is really good, I will not risk an other bunch of gray hairs.

#5 Servant of the Lord   Crossbones+   -  Reputation: 17109

Like
2Likes
Like

Posted 30 May 2012 - 09:46 PM

QtCreator is great*, it has intellisense, integrated debugger, and etc... I use it with MinGW (the GCC C++ compiler ported to windows). The version of MinGW that ships with QtCreator is 4.5 I think, but I manually upgraded to v4.6 which better supports the C++11 standard. (GCC is on 4.7, but that version hasn't yet been ported to MinGW and Windows yet - when it is ported, it'll almost completely implement the standard).

GCC 4.6 support for C++11

QtCreator has a built in wizard for the Qt GUI system (which is fantastic), but even if you're not using the Qt api, QtCreator works fine.
The only problem I really encounter using GCC is that there is a unfortunate lack of good GCC profilers with Windows support. Posted Image
Static code analyzers ofcourse work well.

*But I've never used Visual Studio so I can't compare.

[Edit:] QtCreator is cross platform. So is the Qt GUI api (which uses the native GUI, but is extremely theme-able and extendable). GCC is cross platform too (IDE, Compiler, and GUI/threads/regex/containers/general-purpase library - all cross platform).

Edited by Servant of the Lord, 30 May 2012 - 09:51 PM.

It's perfectly fine to abbreviate my username to 'Servant' rather than copy+pasting it all the time.

[Fly with me on Twitter] [Google+] [My broken website]

All glory be to the Man at the right hand... On David's throne the King will reign, and the Government will rest upon His shoulders. All the earth will see the salvation of God.                                                                                                                                                       [Need free cloud storage? I personally like DropBox]

Of Stranger Flames - [indie turn-based rpg set in a para-historical French colony] | Indie RPG development journal


#6 jamby   Members   -  Reputation: 147

Like
0Likes
Like

Posted 30 May 2012 - 10:06 PM

QtCreator is great


Agreed. I had never used it until last year and thought I'd miss a lot from VS, but I was very impressed. I actually get a working symbols menu in QtCreator, too, something that has always been flaky in VS for me. Though to be fair, the C++ I write in VS is more complicated than what I'm usually doing with QT.

#7 Rosme   Members   -  Reputation: 120

Like
0Likes
Like

Posted 31 May 2012 - 12:21 AM

For codeblocks, go into the nighty build, you'll probably find something that is C++11 compliants.

#8 Zlodo   Members   -  Reputation: 211

Like
0Likes
Like

Posted 31 May 2012 - 02:48 AM

QtCreator is also a great option when you work on a cmake based project. I personally find it a good idea to have a cross platform build system that isn't tied to the ide I use.

#9 samoth   Crossbones+   -  Reputation: 4509

Like
0Likes
Like

Posted 31 May 2012 - 04:23 AM

Code::Blocks is nice if you want something small that "just works" (mostly), and that works identically under both Windows and Linux, and that doesn't take half a gigabyte of harddisk nor an hour to install or 40-45 seconds to start up.

Recent nightly builds have keyword coloring including (hopefully?) all C++11 keywords and most of the standard library. Unluckily it isn't as good as you would wish for, but this is kind of a Scintilla limitation. Keyword coloring does not (and cannot easily) interact with syntax analysis, it works merely by matching strings.
Add to this that code completion in Code::Blocks is not nearly in the same ballpark as in Visual Studio or Eclipse, but hey... look who's developing those. It is not surprising that a handful of people coding in their free time cannot compete with two multi-million dollar many-thousand-developer companies/organizations.
You can use Code::Blocks with a variety (around 20 or so?) of compilers, including the ones from Microsoft and including the 4.6/4.7 lines of GCC (the former being in the "complete bundle"). The MinGW-w64 project has working GCC 4.7 builds already, too.

Eclipse is great if you don't mind a small delay every now and then despite having a kick-ass CPU, got lots of RAM to spare and don't care about disk space. It does practically everything, and it does everything well (except it's a total memory and cpu pig).

Now about developing Metro apps, I assume this is mostly because Microsoft won't ship some headers and import libs in the no-pay-500-dollar version. Obviously, you won't have those either if you use any other IDE/compiler combo, at least not immediately. It's not a trivial thing to do for the people working on MinGW or MinGW-w64 to implement these from scratch (which they need to). DirectX took years to be implemented, and ATL to my knowledge still isn't.
Though I would assume that development support for Metro apps have a sufficiently high priority, I wouldn't count on having it ready by next friday.

Oh, I got this the wrong way around... you can actually only develop Metro with Express and you want desktop apps... so scratch that whole paragraph, this of course works just fine with any free compiler/IDE.

Edited by samoth, 31 May 2012 - 05:19 AM.


#10 Miklas   Members   -  Reputation: 348

Like
0Likes
Like

Posted 31 May 2012 - 04:27 AM

When I would need an alternative to any software, I usually check out alternativeto.net/software/visual-studio

However, I've tried to find a good substitute for VS (as C/C++ support isn't that good) I've tried eclipse, netbeans and code::blocks but I've gone back to VS. No matter how much you hate it, I still find it the best IDE out there. Sometimes a tweak or plugin can help you. I found some plugins that improve the intellisense.

PS: where did you find the rumours about visual studio express 2011 is going to be metro only? I think that the express edition is and probably will stay free and keep the functionality that the current versions have. In the worst case you can just keep using your VS10.

#11 Zlodo   Members   -  Reputation: 211

Like
0Likes
Like

Posted 31 May 2012 - 04:47 AM

When I would need an alternative to any software, I usually check out alternativeto.net/software/visual-studio

However, I've tried to find a good substitute for VS (as C/C++ support isn't that good) I've tried eclipse, netbeans and code::blocks but I've gone back to VS. No matter how much you hate it, I still find it the best IDE out there. Sometimes a tweak or plugin can help you. I found some plugins that improve the intellisense.


Unfortunately, I don't think there is any plugin out there that can help with it being slow, being bloaty, having a compiler that is very late to implement C++11, having a bad build system, and not working in linux or macosx. (or with some long standing, profoundly irritating UI issues such as that project setting dialog which is still not resizeable in the year 2012)
Also the debugger becomes slow as hell as soon as you start doing fancy template stuff.

Visual studio used to be a good ide, but as a C++ ide it hasn't really improved much over the years and it is not aging very well. As you said yourself, its C/C++ support isn't that good, so why exactly is it still regarded as such a good IDE for those languages?

#12 prudas   Members   -  Reputation: 102

Like
0Likes
Like

Posted 31 May 2012 - 04:56 AM

PS: where did you find the rumours about visual studio express 2011 is going to be metro only? I think that the express edition is and probably will stay free and keep the functionality that the current versions have. In the worst case you can just keep using your VS10.


here -> http://www.microsoft.com/visualstudio/11/en-us/products/express

Desktop application development

Visual Studio 11 Express for Windows 8 provides tools for Metro style app development. To create desktop apps, you need to use Visual Studio 11 Professional, or higher. In addition, Visual Studio 2010 Express products - Visual Basic 2010 Express, Visual C++ 2010 Express, and Visual C# 2010 Express - will remain available for free download.


#13 Scarabus2   Members   -  Reputation: 556

Like
0Likes
Like

Posted 31 May 2012 - 05:38 AM

I've used Eclipse for C++/Android development (because you have to) and it's practically useless. C++-support is basically a plugin for Eclipse that doesn't work well and debugging is a nightmare.

On PC, I've yet to find an environment as good as Visual Studio.
visualnovelty.com - Novelty - Visual novel maker

#14 saejox   Members   -  Reputation: 714

Like
0Likes
Like

Posted 31 May 2012 - 08:55 AM

i use codelite. it uses ctags and clang for code completion (integrated, not plugins). it works.
debugger is very functional too.

#15 nife87   Members   -  Reputation: 516

Like
1Likes
Like

Posted 31 May 2012 - 09:41 AM

CodeBlocks is certainly not dead, though I admit that is what the appearance of its site suggests. It is constantly evolved, mostly for the better, and the developers listen when you have criticism/ideas or issues. As Samoth explained, when on Windows, you need to install the latest stable version first, then a nightly build. Also, you have to look for the latest builds manually on Windows, but you get automatic updates when on Linux and using Jens Loddy's repository ('jens' on the forums). CB's projects/workspaces seamlessly migrate between Win/Linux and it can import MSVC projects/workspaces.
I try out Eclipse (still way too heavy/slow for my taste), CodeLite and others from time to time, but none have yet impressed me more than CB.

Edited by nife87, 31 May 2012 - 09:43 AM.


#16 Aardvajk   Crossbones+   -  Reputation: 5268

Like
0Likes
Like

Posted 31 May 2012 - 10:24 AM

Another QtCreator vote from me. I started using it for Qt projects for work but it is now my preferred weapon of choice for all development.

#17 clb   Members   -  Reputation: 1777

Like
1Likes
Like

Posted 31 May 2012 - 10:58 AM

If you want to use some other compiler than Visual C++ compilers, while using Visual Studio as an IDE, have a look at vs-tool plugin in my sig. It supports compiling Visual Studio solutions using MinGW, llvm-clang and a few other exotic toolchains. Even though you do not like VS2011, naturally VS2010 isn't going away, and one can still use it.
Me+PC=clb.demon.fi | C++ Math and Geometry library: MathGeoLib, test it live! | C++ Game Networking: kNet | 2D Bin Packing: RectangleBinPack | Use gcc/clang/emcc from VS: vs-tool | Resume+Portfolio | gfxapi, test it live!

#18 Texus   Members   -  Reputation: 233

Like
0Likes
Like

Posted 31 May 2012 - 11:19 AM

I agree with Miklas that VS is still the best IDE for windows.
When I changed to linux I coudn't use it anymore and I ended up using CodeBlocks, which I believe is the best choice if you want to go cross-platform.
I personally prefer Xcode now, but I don't think you will be using that.

TGUI, a C++ GUI for SFML

TGUI.Net, a GUI for SFML.Net


#19 MichaBen   Members   -  Reputation: 481

Like
0Likes
Like

Posted 31 May 2012 - 12:08 PM

Actually in my opinion the QtCreator code editor is even better then visual studio (at least without third-party plugins). The syntax hightlighting is way better then in VS (at least without third party plugins), making development a lot faster then with VS. Also the "find symbol" function actually works in QtCreator, while in VS 2010 it still fails half of the time (which is still better then with VS 2005, which often crashes if you try to use it). VS might be better for debugging, but it's C++ code editor is of pretty poor quality compared to these other products.

#20 waag   Members   -  Reputation: 150

Like
0Likes
Like

Posted 31 May 2012 - 05:41 PM

I'm curious how feature-complete all the alternatives mentioned here are, cause I'm also interested in alternatives since I do a bit of cross-platform programming.

The comments I've seen regarding Eclipse are surprising to me, using a 6 months old version of Eclipse CDT (the C++ IDE for Eclipse) I'd say it's very capable. It's worse than VS in parsing heavy template code, otherwise it's "Intellisense" functionality is great, and sometimes I even prefer it to VS, but I've never used VisualAssistX so I'd probably change my mind there. The debugging in Eclipse CDT has served me very well as well. Since this seem to be a complaint, I'd like to hear what's missing since I guess it's something I haven't encountered. Note that I've only used Eclipse on linux systems, so maybe more issues arise when using it on Windows...

Many people recommend CodeBlocks and QtCreator, could you guys elaborate if they provide decent autocompletion and debugging capability compared to VS?




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS