PDA

View Full Version : Difference Between C And C++



kalashnikov
05-30-2003, 11:24 AM
i know is ound stupid but whats the difference and what programs do i need for each???

ilw
05-30-2003, 12:42 PM
C++ is the object orientated and updated version of C. This basically means that all the C commands and more, plus extra functionality are included in C++. So C++ is the one to go for, theres not really any difference in difficulty in learning either. Stuff u'll need:
A compiler: If u want a good legal and free compiler go here
http://www.delorie.com/djgpp/ It may not look like much but its very good.
Theres other compilers eg Visual Studio and Borland both of which are excellent and probably better documented but neither are free (unless u have kazaa :P )
If u want to write windows gui programs/games you will eventually need to get a copy of microsoft visual studio.

I recommend u get a book if u r new to programming, I learnt from Sams "Teach yourself C++ in 21 days" and I reckon it was a very good introductory course.
Then I went on to learn some visual C++, but most of the books weren't that good. Then I wanted to learn some game/graphics programming and Sams "Tricks of the Windows Game Programming Gurus" is outstanding. Personally i;m a big fan of Sams programming books and don't much like many of the other series eg dummy's guide etc. To see a list of Sams books http://www.samspublishing.com

tommy1987
05-30-2003, 01:10 PM
if u r just starting to program i suggest starting with Visual Basic and not C or C++ as they are bloody hard and you wont be able to get your head around them straight away.