Sign in to follow this  
valdsign

IDE for C++ Programming

Recommended Posts

Key_46    540

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
3Ddreamer    3826

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
Xai    1838

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
popsoftheyear    2194

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
SimonForsman    7642

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
NightCreature83    5002

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
Satharis    2444
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
SimonForsman    7642

 

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
LorenzoGatti    4442

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
fir    460

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
Getov    498

 


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
mmakrzem    1036

+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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this