• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

C++ editor and compiler suggestion

ThatsABigOne

Diamond Member
I have been using CentOS and Ubuntu for last 3 weeks. I used EMACS and the terminal command g++ -o yadda yadda.cpp.

But I want to move back to windows as my laptop's power management in Ubuntu is effed up (20 min battery life). Where as in Windows, I have Battery Saving, which downclocks my t9600 and gtx260m.

What are good alternatives for C++ editors and g++ thingy for Windows OS?

Thank you in advance.
 
I still use vim and gcc in Windows....

Check out the sticky at the top of the thread, there are many free IDEs listed for Windows.
 
Thank you, I have downloaded VCC. And it is very similar to emacs. Thanks again.

Now for Gcc, I can't seem to find a link that would work for my windows installation. There are way too many to choose from. lol What link should I use? If you could point to the link, that would be very much appreciated!

http://gcc.gnu.org/install/specific.html

I am trying to find that is the closest alternative to terminal type command in linux. Does CMD in Windows work in sort of same way?
 
You can install cygwin if you want a more linux like shell interaction. Honestly though, if you are dead set on using a Linux like environment in Windows, I would just run Linux in a virtual machine through Windows and call it a day.
 
cygwin has the best bash implementation on windows, however, its version of the gcc links all binaries to a cygwin dll that can really kill performance. Cygwin is all about putting a POSIX environment on windows.

MingW, on the other hand, is all about trying to use native windows stuff whenever possible. It produces much quicker and leaner binaries with no dependencies. It also has its own bash environment (MYSYS) which is "OK" but not as good as cygwin.

Most free IDEs for windows will use a version of MingW.


In windows, hands down the best IDE for C++ development is Visual Studios. After that, the runners up really all have similar features. I prefer Netbeans for MingW C++ development, followed by Code::Blocks and then Eclipse (though, they are all really pretty similar).
 
If you can stomach giving your $$$ to Microsoft, go with Visual Studio.

Hands down best IDE IMHO.

If you have an edu email, you can get it for free. If you don't, you can get the express edition for free (loses some of the goodness, but is still pretty dang good).
 
Last edited:
Yep, this is what we always used in classes as it was free, but was awesome.

https://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express

There are limitations as you're not supposed to use it for commercial use, and all that 🙂

False, there is nothing in the Visual studios express license that forbids you from using it for commercial purposes. The only place you run into this issue is doing silverlight development which involves using the H.264 or VC-1 codecs... but that isn't really microsoft's fault.
 
You aren't supposed to use the Professional version that you can get for free as a student for any commercial projects, but I think Express is fine. How would they even know if you did though?

Not that I condone or partake in any such behavior.
 
You aren't supposed to use the Professional version that you can get for free as a student for any commercial projects, but I think Express is fine. How would they even know if you did though?

Not that I condone or partake in any such behavior.

Ok, that is correct. We used to use the version that was distributed to students through the DreamSpark program which was the PRO version that did state you couldn't use it for commercial purposes. The Express version doesn't seem to have that in the license text.
 
Did someone mention Visual Studio yet...

I got mine through DreamSpark and I can still upgrade using the program to 2010 but my Intel compilers are only compatible with 2008. But it really is a good IDE.
 
I have installed Visual C++ express. I will see how it goes.

Edit: I have copied some code over to an empty project, but I cannot press the green button 'play' to compile. What gives?

Thank you in advance.
 
Microsoft has done an outstanding job with their Express editions and availability for student software, in my opinion.
 
Well, I tried to install MS VS on my laptop, it turned out that it will refuse to work..

I am resorting to gVim and cygwin.

I know linux type environments, but I cannot find the folder on my C drive that I created with this command: mkdir Labs. When I type in pwd, it says Administrator/home. I went there, but home folder is not there..

Help?

Thank you
 
give codelite a try.
http://www.codelite.org/

The problem with accessing the folder might be because windows frowns upon creating folders in the root directory and will try to get programs to put things in user folders. Look in control panel/folder options and uncheck hide system protected files and folders and see if you can see the folder then. It may be under users/username/appdata
 
Well, I tried to install MS VS on my laptop, it turned out that it will refuse to work..

I am resorting to gVim and cygwin.

I know linux type environments, but I cannot find the folder on my C drive that I created with this command: mkdir Labs. When I type in pwd, it says Administrator/home. I went there, but home folder is not there..

Help?

Thank you

If I recall, your C drive gets mounted to /cygdrive/c/. You should be able to navigate the C drive like normal.
 
Back
Top