compiler problems

Discussion about hacker.org's server
Post Reply
User avatar
i am red
Posts: 55
Joined: Fri Feb 27, 2009 9:04 pm

compiler problems

Post 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
the redneck hacker is watching, from the depths of hee haw hell muahahahahahahahahahahahahah!!!!!!!!!!!!!!!!
User avatar
S3th
Posts: 411
Joined: Thu Sep 11, 2008 8:35 am

Post 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
See through the master
Become the master
jeetee
Posts: 105
Joined: Sun Jan 04, 2009 5:25 pm

Post 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
User avatar
S3th
Posts: 411
Joined: Thu Sep 11, 2008 8:35 am

Post 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..
See through the master
Become the master
User avatar
i am red
Posts: 55
Joined: Fri Feb 27, 2009 9:04 pm

Post by i am red »

Thanks, and I agree, windows is gay
the redneck hacker is watching, from the depths of hee haw hell muahahahahahahahahahahahahah!!!!!!!!!!!!!!!!
User avatar
i am red
Posts: 55
Joined: Fri Feb 27, 2009 9:04 pm

Post by i am red »

Oh and S3th, Itried that compiler, it accually works, thanks again
the redneck hacker is watching, from the depths of hee haw hell muahahahahahahahahahahahahah!!!!!!!!!!!!!!!!
User avatar
S3th
Posts: 411
Joined: Thu Sep 11, 2008 8:35 am

Post 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 ;)
See through the master
Become the master
User avatar
i am red
Posts: 55
Joined: Fri Feb 27, 2009 9:04 pm

Post 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.
the redneck hacker is watching, from the depths of hee haw hell muahahahahahahahahahahahahah!!!!!!!!!!!!!!!!
jeetee
Posts: 105
Joined: Sun Jan 04, 2009 5:25 pm

Post by jeetee »

*feels insulted now*


:wink:
User avatar
i am red
Posts: 55
Joined: Fri Feb 27, 2009 9:04 pm

Post by i am red »

Lol, it asks if your in a retirement home
the redneck hacker is watching, from the depths of hee haw hell muahahahahahahahahahahahahah!!!!!!!!!!!!!!!!
Post Reply