PDA

View Full Version : C++


Mr_Talley
08-18-2004, 09:38 AM
I have recently downloaded DEV C++. I am excited to learn how to write in C++. I also bought a book on how to write in C++ called something like C++ for dummies. It will take up to 10 days to get here so here is the thing ..... Is there someone that can give a newbie a few pointers just to help get him started till the book arrives? PLEASE

Greg
08-18-2004, 10:41 AM
I'm not a c++ coder. I think if you know c it would help. OOP is a big bite for a beginner I'd think, but I'm not an expert coder by any means.

Zero Tolerance
08-18-2004, 01:31 PM
You should star off by learning the libraries and what's within them. Then familiarize yourself with the basics, like variable declaration, basic cin and cout statements. Next move on to IF statements and loops.

As noopid said...OOP is a big BIG bite...I am nowhere near a OOP coder....so maybe you should start out with Visual Basic to get a good grasp of how all of those things I mentioned above work before moving on to an OOP language.

Goodluck!

Anaconda
08-18-2004, 11:01 PM
While object oriented programming is a big bite.. The best time is to learn it now at the start of your programming career. This way you don't have to unlearn all the bad habits you acquired learning procedural programming. (note that the procedural habits aren't really bad, just different enough to potentially cause troubles down the road with OOP)

Before learning the libraries, you really do need to learn the language and it's structure and the paradigm in which it operates. OOP is a very structured language, and understanding that structure, will help you when you start to move into the libraries. Basically you need to learn to code, before learning to write applications.

While you wait for your book to arrive, you might want to try http://www.cplusplus.com/doc/#tutorial

Mr_Talley
08-19-2004, 02:18 AM
Ok .. thanks everyone for your help, but i maybe going about this the wrong way ... I would like to make games .. like poker machines, and slot machines ... nothing as complicated as pogo, or ion ... but along thoes lines. It sounds more and more like C++ is the wrong way to go ... so could someone point me in the right direction?

Anaconda
08-19-2004, 11:55 AM
Sounds like you are trying to put the cart before the horse. No matter what kind of applications you want to write iin the end, you still need to learn how to program first.

C++ will still work there, but C is a more common approach for game writers. though C++ will work perfectly fine (and for the types of games you are proposing you don't need to worry about code efficiency too much)

Once you have a foundation in the languiage, then you will need to start getting familiar with the libraries. For game development this will mostly be the input, graphics, and audio libraries. there are many good books about game development out there, you should consider picking up one or two of those as well.

MtnClimber
07-21-2005, 06:45 AM
Was trying to learn Html some time ago, was really struggling at it.. I just don't get it.. Any suggestions...

Am I going to have to learn program language to be able to Develope My own site? Witha radio station of course..

Thanks,

MtnClimber

vantim
07-21-2005, 08:03 AM
Please start a new thread when you have a question to ask. Digging up older threads and commenting on them is sometimes confusing. Plus Html programming is different than Computer programming. You're question could be ignored.