Dark Bit Factory & Gravity

PROGRAMMING => C / C++ /C# => Topic started by: CoDeMaN on May 11, 2006

Title: What compiler ?
Post by: CoDeMaN on May 11, 2006
Right then lets get this topic started :)

What compiler are you people using or thinking of using ?

Im been messing about with Visual C++ 6 the past few weeks.

Ive tried some of the FREE stuff like DEV-CPP but when i setup like it asks then compile the test program i get lots of errors.

Ive got the book Sams Teach yourself C++ 6t in 21days and was wondering what books/tutorials people have read ?

Title: Re: What compiler ?
Post by: Shockwave on May 11, 2006
This is a good page to bookmark if you're thinking of learning C;

http://nehe.gamedev.net/lesson.asp?index=01

I started to learn a little bit of it myself but I got sidetracked, Bloodshed software's Dev C is a good compiler;

http://www.bloodshed.net/devcpp.html

All I ever got as far as was a little hello world type thing.
Hardly a demo :)

Hope that helps until someone who knows better comes along.
Title: Re: What compiler ?
Post by: Clyde on May 11, 2006
I've only really dabbled ever so slightly in this area. But I can highly recommend the Dummies series of books aimed at C and Windows Programming, etc.
GameDev also have some really cool books on C and OGL. At GameDev there's a link to the titles they have.

Why dont you try The Express version of Visual Studio 2005 C++ available at Mircrosofts site. The express versions are free. There's also a Visual Basic version too, and others.

Hope it helps.
Clyde.
Title: Re: What compiler ?
Post by: relsoft on May 12, 2006
MingW/GCC in Devcpp. I find it easier to work with as compared to MSVC. :*)
Title: Re: What compiler ?
Post by: Rbz on May 12, 2006
I have both, MSV6.0 and Dev-cpp.

@CoDeMaN:  Post the source code that you have troubles and someone will help you.
Title: Re: What compiler ?
Post by: CoDeMaN on May 12, 2006
I have both, MSV6.0 and Dev-cpp.

@CoDeMaN:Â  Post the source code that you have troubles and someone will help you.

The main problem at present is where to actually start
Title: Re: What compiler ?
Post by: Clyde on May 12, 2006
You need to start from the very basics mate; they may seem boring, tedious and not very visual inspriring; but it's the only way of getting to grips with
what does what, and why. Especially  as you seem to be having  a few problems.

Get a beginners books, like suggested above, and knuckle down and read dude.
Also don't try and run before you can Walk. And also, don't copy and paste the books code listings if they are on disk. Type them out from the book to the IDE; that helps alot. As anyone can copy and paste.
Title: Re: What compiler ?
Post by: pentagram on May 12, 2006
In work I use MingW/GCC for our telnet software, and Visual C++ for Windows systems and GNU for Linux porting.

I prefer Visual C++ though, much faster development time and a piece of piss to learn, though I would highly recommend Wrox Press C++ 2005 book.

If you want to learn DirectX or OpenGL, download the SDK's. They're very very useful.
Title: Re: What compiler ?
Post by: Shockwave on May 12, 2006
Welcome to the forum Pentagram :)
Don't want to Wreck Codemans topic by going OT, so basically get a compiler  and try to get stuck in, opening screens etc.
You can post your sources here and those in the know will point out other better methods for you as you go along I'm sure.
Title: Re: What compiler ?
Post by: Clyde on May 14, 2006
How you progressing there Codeman?
Any luck?
Title: Re: What compiler ?
Post by: CoDeMaN on May 14, 2006
D/l Express visual c++
Followed install instructions
Compiled 1st prgram as shown
.....

ERROR!

cannot find stdfx.h

i give up on that 1 for now....

Will continue with Visuall C++ 6 and read Sams teach yourself c++ in 21days.
at least when i compile the program it works for me so far :)

Title: Re: What compiler ?
Post by: xteraco on May 18, 2006
@ CoDeMaN: if its a book by Jesse Liberty, its nothing more than fule for the fire, i might make a suggestion, heres a link

first is Accelerated c++
http://www.overstock.com/cgi-bin/d2.cgi?PAGE=PRODUCT&PROD_ID=1275898&cid=92756&fp=F

and second, c++ in easy steps
http://www.ineasysteps.com/books/details/?1840782951

you can get C++ In Easy Steps for 10 bones at any barns n noble store..... good luck :)
Title: Re: What compiler ?
Post by: CoDeMaN on May 19, 2006
Cheers m8 ill go price them up after me holidays...
Title: Re: What compiler ?
Post by: TinDragon on June 04, 2006
I use VC++.net 2003 mostly, like the ide and compiler is ok. I also have devcpp installed with mingw but dont use it as much as I tend to find most of the stuff gives me errors for stupid reasons. My C++ coding isn't that good yet but I am ok with plain old C code as I did a small bit back in the Amiga days. The hardest part I find isnt so much the C/C++ languages it's the use of all the api's to actually do stuff under windows. As for books, the Dummies books are good if you can read that style and the sams books can be ok, Gamedev has a good books section were you can get peoples opinions on books, worth checking before splashing to much cash ;).
Title: Re: What compiler ?
Post by: xteraco on June 05, 2006
yuck, personally, i say stay away from the dummies books :P    (no offence)

i did reccomend some books... but keep in mind if you have a sound knowledge of programmign in
general, you could always just get a reference and go from there

and about the errors, most stuff compiled in vcpp(.net) wont compile w/ gcc or mingw, although
thats not true for everything... .  i dont use vcpp(.net) because i dont want to force other users
into using a certian compiler.......  example, if i use vcpp, then user who wants to compile my
src cant w/ gcc.... but if i code it in gcc to begin w/, then user who wants to compile my code
can :)   also, if i decide i wanna port to linux, its easyer (assuming i dont import win32 libs and
such)

anyhoo, thats my stinkin oppinion, dont like it? tough :P   lol, j.k