Page 1 of 1
compiler problems
Posted: Mon Mar 30, 2009 10:50 pm
by i am red
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
Posted: Tue Mar 31, 2009 8:25 am
by S3th
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
Posted: Tue Mar 31, 2009 11:43 am
by jeetee
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
Posted: Tue Mar 31, 2009 12:34 pm
by S3th
[/offtopic]I also Dual boot windows and Ubuntu. But NEVE EVER use windows haha. SO GAY AND SLOW.
I might look into learning C++ or Java..
Posted: Tue Mar 31, 2009 7:11 pm
by i am red
Thanks, and I agree, windows is gay
Posted: Tue Mar 31, 2009 8:59 pm
by i am red
Oh and S3th, Itried that compiler, it accually works, thanks again
Posted: Wed Apr 01, 2009 6:22 am
by S3th
i am red wrote:Oh and S3th, Itried that compiler, it accually works, thanks again
No problem, let us know how everything goes

Posted: Wed Apr 01, 2009 11:05 pm
by i am red
It's going pretty sweet acually. just made a program that insults you when you say that your age is over 21.
Posted: Thu Apr 02, 2009 11:16 am
by jeetee
*feels insulted now*

Posted: Thu Apr 02, 2009 6:26 pm
by i am red
Lol, it asks if your in a retirement home