Firstly, Get a Compiler, this is what takes the code and makes it into a program. There are a lot of compilers of there but I suggest VC++ 2010. The download can be found in the Crossfire source code section
here!
This first program you will write is simple: Helloworld!
Open a new console application project in VC++ and go to: Add New Item > and add a (.cpp) file called main.cpp!
Once you are ready type this code down to write your first program:
[IMG]http://i747.photobucke*****m/albums/xx116/ddragon97/1.jpg[/IMG]
Code:
#include <iostream>
int main()
{
std::cout << "Hello World!" << std::endl;
return 0;
}
Now to explain the coding:
BLUE = CODE
BLACK = EXPLANATION
Code:
#include <iostream> (Including the standard iostream file into your program)
Code:
int main()
int: is an integer number value.
main(): defines that the main function is about to be stated
Code:
{
std::cout << "Hello World!" << std::endl;
return 0;
}
{ = start of code
} = end of code
std = standard
cout = console output
endl = endline
"TEXT" = When used with "cout" it is displayed on the computer screen
<< = These arrows show what will be placed on the screen (ie. std::cout << "Hello World!" This shows that "Hello World! will be displayed on the console window)
return 0; = Think of this as ending the main function and returning back to the program with no results (no exactly but close enough)
Therefore the Code:
std::cout << "Hello World!" << std::endl;
In English can be written as:
standard::console output << "Hello World!" << standard:: endline;
When executed the program looks like this:
[IMG]http://i747.photobucke*****m/albums/xx116/ddragon97/2.jpg[/IMG]
Well what you just learned to do is code, although coding hacks arent that simple, everything is more complicated but everything basically revolves around this

have fun coding
NOTE: I KNOW THERE ARE LOTS OF C++ TUTS HERE BUT THIS ONE TEACHES YOU HOW TO CODE THE MOST BASIC PROGRAM BUT STILL TEACHES YOU THE BASIC COMPONENTS THAT MOST C++ PROGRAMS HAVE!