compiler problems
compiler problems
Ok, im a C++ n00b and ive been doing some simple programs. ive been copying programs from books and sites line for line an im getting errors from the compiler. mostly about me not putting in a precompiled heading called " stdafx.h". In other words i need help idk where to put it or whats wrong with my compiler, im using the compiler that comes with the C++ express edition, so if its the compiler can u direct me to a better one. thank you
the redneck hacker is watching, from the depths of hee haw hell muahahahahahahahahahahahahah!!!!!!!!!!!!!!!!
This is a pretty good complier from what I have heard. I might download it, as it has Linux versions too. I have no clue about the coding. I need to learn it myself though, if I find any good documentation on C++, I'll PM you.
Edit: God damn, I forgot to post the compiler link.
http://www.bloodshed.net/devcpp.html
Edit: God damn, I forgot to post the compiler link.
http://www.bloodshed.net/devcpp.html
See through the master
Become the master
Become the master
I started out 4years ago using Dev-Cpp on Windows. And I loved it There were some minor issues with the code completion, but I figured they'd be gone in the next release... However.. it seems the project is orphaned, since the development never progressed past 4.9.9.2 (the beta of 5).
Also, once I started with medium-scale projects, Dev-cpp just didn't cut it for me. One of the largest disadvantages imo was the failure of auto-generating getters/setters, no code completion for custom classes, lacking decent refactoring..
By then I'd also started a course to learn Java, in which we used Eclipse. I found out that there's a C(++)-addon (called CDT) and have used this ever since. One of the advantages is that I use Eclipse with CDT both in Windows and Ubuntu (dual boot here) and they can work on the same workspace without any issues.
Of course, there's a lot of personal opinions leading to the IDE of your choice.
As of the pure compiler-issue, I'd go with the GNU gcc/g++-compiler. I believe Microsoft has his own C++-compiler, which also does a good job. But then again, that one isn't usable under *nix, as far as I know. I myself use the MingW implementation/wrapper of gcc/g++ on WinXP, and the plain gcc/g++ on Ubuntu.
EDIT: as for documentation: cprogramming.com offer a nice basic tutorial on the different C++ concepts
Also, once I started with medium-scale projects, Dev-cpp just didn't cut it for me. One of the largest disadvantages imo was the failure of auto-generating getters/setters, no code completion for custom classes, lacking decent refactoring..
By then I'd also started a course to learn Java, in which we used Eclipse. I found out that there's a C(++)-addon (called CDT) and have used this ever since. One of the advantages is that I use Eclipse with CDT both in Windows and Ubuntu (dual boot here) and they can work on the same workspace without any issues.
Of course, there's a lot of personal opinions leading to the IDE of your choice.
As of the pure compiler-issue, I'd go with the GNU gcc/g++-compiler. I believe Microsoft has his own C++-compiler, which also does a good job. But then again, that one isn't usable under *nix, as far as I know. I myself use the MingW implementation/wrapper of gcc/g++ on WinXP, and the plain gcc/g++ on Ubuntu.
EDIT: as for documentation: cprogramming.com offer a nice basic tutorial on the different C++ concepts