• Advertisement
Sign in to follow this  

IDE for C++ Programming

This topic is 1590 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Well CB doesn't offer the features that visual studio does, but it's a bit more flexible. You can use any compiler you want, the VC++ compiler if you want, while visual studio is stuck to it's only one.

 

Technically not true, since Visual Studio does support makefile projects it can be used with with any tool/compiler. As an example I used it with Mingw to build homebrews for Nintendo DS.

Share this post


Link to post
Share on other sites
Advertisement

In most situations compiling shouldn't be painfully slow, so a hardware upgrade should be considered first. You will need it in any case. Get multi-core CPU with at least 2.8 Ghz speed and 4 GB system RAM. I have even read about tapping into a VGA (dedicated graphics card) to add processing power for compiling but I know nothing about it personally. I never heard of VS allowing that, so it has its limits.

 

Clinton

Edited by 3Ddreamer

Share this post


Link to post
Share on other sites

You should NOT be using a 64 bit OS with 1GB of ram.  Why would you do that?  A 64 bit OS is inherently more RAM hungry and slower when RAM constrained than a 32-bit OS.  Not to mention that the 32 bit version of Windows 7 is SLIGHTLY more compatible with old Win 32 games (such as Civ 2 and Fallout 3).

 

The whole world is moving to 64-bit OSes, but not just for the fun of it, the only reason for the move is Virtual Memory Address Space (more than 4GB of it) .. you wont see ANY benefit to a 64-bit OS until you have more than 2 GB of RAM, or more than 3 GB total of RAM + Video Memory.  All of my computers have finally moved to 64-bit OSes, but that's cause they have between 4 GB and 16 GB of RAM (and 1-2 GB video cards).  I promise you will see 5-10% faster performance on a 32 bit OS, and have about 50-200 MB more free memory from Windows 7.

 

As for free C++ IDE, I've used Visual C++ Express 2008 and 2010 (which were required by the older XNA SDKs) and like them just fine.  I haven't used VS 2012 express yet, partially because there is no longer an XNA for it, and I'm not currently doing any open source / indie work so I'm just using the professional version.  And partially because of this:  http://www.lifehacker.com.au/2013/01/ive-given-up-on-visual-studio-express-2012-for-windows-desktop-heres-why/.  Although I have to say that VS 2012 is better than 2010 in some simple ways, I just can't believe they removed the exception diag feature - way to help the beginners.

 

Code Blocks has been highly recommended for years as well, and in the game dev beginner community I pretty only see those 2 (Visual Studio Express and Code Blocks) used with enough users to be helpful.

 

If you use VS Express be aware of a few things.  1. you CAN make multi-project solutions, you just have to tell it to ADD a project to an existing open solution ... and it will then be visible (the solution is hidden by default).  2.  you CAN make it remember tabs instead of spaces, you just have to use REGEDIT to change the settings, since they removed this setting (and most) from the Options dialog.

Share this post


Link to post
Share on other sites

Visual Studio 2012 is definitely my favorite, but when I'm on linux I like CodeLite which is also multi-platform. The IDE is not a system hog at all and it is very flexible, much like Code::Blocks.

 

It's really going to be a personal choice type of thing here in a lot of ways, though there are good arguments for some of the truly more functional ones. Also people are saying it is the compiler that is slow, but an IDE can definitely feel slow and unresponsive during use completely apart from the compilation stage...

Share this post


Link to post
Share on other sites
vim with clangcomplete and nerdtree.

Best IDE ever. Edited by Washu

Share this post


Link to post
Share on other sites

vim with clangcomplete and nerdtree.

Best IDE ever.

 

i used to prefer vim as well, or QT Creator with fakeVim but these days i just use Sublime Text instead at work(except for Android stuff where i use eclipse)

Edited by SimonForsman

Share this post


Link to post
Share on other sites

You should NOT be using a 64 bit OS with 1GB of ram.  Why would you do that?  A 64 bit OS is inherently more RAM hungry and slower when RAM constrained than a 32-bit OS.  Not to mention that the 32 bit version of Windows 7 is SLIGHTLY more compatible with old Win 32 games (such as Civ 2 and Fallout 3).

 

The whole world is moving to 64-bit OSes, but not just for the fun of it, the only reason for the move is Virtual Memory Address Space (more than 4GB of it) .. you wont see ANY benefit to a 64-bit OS until you have more than 2 GB of RAM, or more than 3 GB total of RAM + Video Memory.  All of my computers have finally moved to 64-bit OSes, but that's cause they have between 4 GB and 16 GB of RAM (and 1-2 GB video cards).  I promise you will see 5-10% faster performance on a 32 bit OS, and have about 50-200 MB more free memory from Windows 7.

 

As for free C++ IDE, I've used Visual C++ Express 2008 and 2010 (which were required by the older XNA SDKs) and like them just fine.  I haven't used VS 2012 express yet, partially because there is no longer an XNA for it, and I'm not currently doing any open source / indie work so I'm just using the professional version.  And partially because of this:  http://www.lifehacker.com.au/2013/01/ive-given-up-on-visual-studio-express-2012-for-windows-desktop-heres-why/.  Although I have to say that VS 2012 is better than 2010 in some simple ways, I just can't believe they removed the exception diag feature - way to help the beginners.

 

Code Blocks has been highly recommended for years as well, and in the game dev beginner community I pretty only see those 2 (Visual Studio Express and Code Blocks) used with enough users to be helpful.

 

If you use VS Express be aware of a few things.  1. you CAN make multi-project solutions, you just have to tell it to ADD a project to an existing open solution ... and it will then be visible (the solution is hidden by default).  2.  you CAN make it remember tabs instead of spaces, you just have to use REGEDIT to change the settings, since they removed this setting (and most) from the Options dialog.

XNA works perfectly fine with the non express editions of VS as well, there is no benefit to installing the express editions of 2008 or 2010 when you own the pro edition of these two, XNA doesn't require you to install the express edition. XNA works perfectly fine in VS2012 as well btw.

 

The only drawback on the express editions is that they are langauge specific and you can't install plugins, which is really annoying.

 

 

 

 

Share this post


Link to post
Share on other sites
Pretty much no reason not to use VS if you're developing with Windows.

In addition if you're moving into commercial game dev or even coding with C# or C++ or the other things VS supports, it's pretty realistic that you'll end up using visual studio to develop with. It's a tool worth at least knowing the basics of, I personally find it very capable.

Share this post


Link to post
Share on other sites

I'm happy with Eclipse on all 3 main os. Only sometimes I fire up VS or Qtcreator.

Share this post


Link to post
Share on other sites

 

You should NOT be using a 64 bit OS with 1GB of ram.  Why would you do that?  A 64 bit OS is inherently more RAM hungry and slower when RAM constrained than a 32-bit OS.  Not to mention that the 32 bit version of Windows 7 is SLIGHTLY more compatible with old Win 32 games (such as Civ 2 and Fallout 3).

 

The whole world is moving to 64-bit OSes, but not just for the fun of it, the only reason for the move is Virtual Memory Address Space (more than 4GB of it) .. you wont see ANY benefit to a 64-bit OS until you have more than 2 GB of RAM, or more than 3 GB total of RAM + Video Memory.  All of my computers have finally moved to 64-bit OSes, but that's cause they have between 4 GB and 16 GB of RAM (and 1-2 GB video cards).  I promise you will see 5-10% faster performance on a 32 bit OS, and have about 50-200 MB more free memory from Windows 7.

 

As for free C++ IDE, I've used Visual C++ Express 2008 and 2010 (which were required by the older XNA SDKs) and like them just fine.  I haven't used VS 2012 express yet, partially because there is no longer an XNA for it, and I'm not currently doing any open source / indie work so I'm just using the professional version.  And partially because of this:  http://www.lifehacker.com.au/2013/01/ive-given-up-on-visual-studio-express-2012-for-windows-desktop-heres-why/.  Although I have to say that VS 2012 is better than 2010 in some simple ways, I just can't believe they removed the exception diag feature - way to help the beginners.

 

Code Blocks has been highly recommended for years as well, and in the game dev beginner community I pretty only see those 2 (Visual Studio Express and Code Blocks) used with enough users to be helpful.

 

If you use VS Express be aware of a few things.  1. you CAN make multi-project solutions, you just have to tell it to ADD a project to an existing open solution ... and it will then be visible (the solution is hidden by default).  2.  you CAN make it remember tabs instead of spaces, you just have to use REGEDIT to change the settings, since they removed this setting (and most) from the Options dialog.

XNA works perfectly fine with the non express editions of VS as well, there is no benefit to installing the express editions of 2008 or 2010 when you own the pro edition of these two, XNA doesn't require you to install the express edition. XNA works perfectly fine in VS2012 as well btw.

 

The only drawback on the express editions is that they are langauge specific and you can't install plugins, which is really annoying.

 

 

a lack of plugins is a pretty big drawback though, i'd say that there is almost no reason to use the express edition of VC++ these days(other than learning the basic interface to make a transition to the proper version of VS easier), All the features that make Visual Studio a great IDE are cut out from the express editions and there are plenty of free alternatives that are quite frankly, better.

Share this post


Link to post
Share on other sites

to be honest.. I doubt that with 1gb of ram running win7 64 you'll be able to see improvements.


Not only having 1GB of memory excludes Eclipse, Netbeans and probably Visual Studio from consideration, but you might run out of memory while compiling and linking programs irrespective of the tools you use.
Sacrificing programs (e.g. not running a web browser) to spare memory is going to be horrible.

Invest in a good laptop with a SSD and at least 8GB memory, then run anything on it.

Share this post


Link to post
Share on other sites

Invest in a good laptop with a SSD and at least 8GB memory, then run anything on it.

 

 

Wouldnt the desktop be better (than laptop?)

Share this post


Link to post
Share on other sites

 


Invest in a good laptop with a SSD and at least 8GB memory, then run anything on it.

 

 

Wouldnt the desktop be better (than laptop?)

 

It depends what you need - mobility or power.
If you need to carry around your computer, laptop is the best choice, otherwise get a desktop!

 

Netbeans is way too heavy compared to other IDE's. I would say go with Visual Studio.

Edited by Getov

Share this post


Link to post
Share on other sites

MS has released VS2013 RC on 9 September so you can now try out the Ultimate edition of VS until somewhere half way through November right now for free. If you use C++ this has partial C++11 and C++14 standards compiled in.

Share this post


Link to post
Share on other sites

+1 for Visual Studio.  I've been using it since the 90's and I tried switching to other free IDE's like eclipse but none are as good in my opinion as Visual Studio.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement