Author Topic: What compiler ?  (Read 10743 times)

0 Members and 1 Guest are viewing this topic.

Offline CoDeMaN

  • Atari ST
  • ***
  • Posts: 127
  • Karma: 38
    • View Profile
What compiler ?
« 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 ?


Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17414
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: What compiler ?
« Reply #1 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.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: What compiler ?
« Reply #2 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.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline relsoft

  • DBF Aficionado
  • ******
  • Posts: 3303
  • Karma: 47
    • View Profile
Re: What compiler ?
« Reply #3 on: May 12, 2006 »
MingW/GCC in Devcpp. I find it easier to work with as compared to MSVC. :*)
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: What compiler ?
« Reply #4 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.
Challenge Trophies Won:

Offline CoDeMaN

  • Atari ST
  • ***
  • Posts: 127
  • Karma: 38
    • View Profile
Re: What compiler ?
« Reply #5 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

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: What compiler ?
« Reply #6 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.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline pentagram

  • ZX 81
  • *
  • Posts: 3
  • Karma: 1
    • View Profile
    • Web Shite
Re: What compiler ?
« Reply #7 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.

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17414
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: What compiler ?
« Reply #8 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.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: What compiler ?
« Reply #9 on: May 14, 2006 »
How you progressing there Codeman?
Any luck?
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline CoDeMaN

  • Atari ST
  • ***
  • Posts: 127
  • Karma: 38
    • View Profile
Re: What compiler ?
« Reply #10 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 :)


xteraco

  • Guest
Re: What compiler ?
« Reply #11 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 :)

Offline CoDeMaN

  • Atari ST
  • ***
  • Posts: 127
  • Karma: 38
    • View Profile
Re: What compiler ?
« Reply #12 on: May 19, 2006 »
Cheers m8 ill go price them up after me holidays...

Offline TinDragon

  • Pentium
  • *****
  • Posts: 644
  • Karma: 24
    • View Profile
    • J2K's blog
Re: What compiler ?
« Reply #13 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 ;).

xteraco

  • Guest
Re: What compiler ?
« Reply #14 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