Teen Programmers Unite  


Return to forum top

Newbie Question on C++

Posted by diegoeskryptic [send private reply] at March 14, 2002, 03:30:13 PM

I am a newbie at computer science.... This stuff is extremely complicated.... I study for hours a day and i still dont understand this stuff... what is the best way to study this C++ so that I may become a master?..... email me

Posted by CodeRed [send private reply] at March 14, 2002, 08:16:49 PM

Program a lot. Write little crappy DOS games and stuff like that

Posted by Psion [send private reply] at March 14, 2002, 10:20:47 PM

Doing the exercises in textbooks is also a good idea.

Posted by RedX [send private reply] at March 15, 2002, 12:57:13 PM

This stuff isn't as complicated as it looks. Just don't look at it as a whole. C had about 32 reserved words (words that have a real build-in meaning for the compiler) C++ has only a few new words.
If you know the basic words and the iostream lib you can start writting some simple programs and you can learn the rest of the libs one by one.

Start with a standard hello world program:

#include <iostream>
using namespace std;

int main()
cout << "hello world" << endl;
return 0;

I'm sure this code is written down somewhere around the first few pages of your textbook, unless it first covers the boring doctrine about why object oriented programming is the best thing ever, without telling anything about the other paradigms (sounds like a conspiracy, doesn't it?)


Posted by diegoeskryptic [send private reply] at March 27, 2002, 02:41:02 PM

THanxS.... im going to follow all the advice given to me!

You must be logged in to post messages and see which you have already read.

Log on
Save for later automatic logon

Register as a new user
Copyright TPU 2002. See the Credits and About TPU for more information.