well... maybe you haven't read enough... you should start with the simplest program in c++, the "Hello World!" program. you must first #include any header files you need for the specific program, usually is used for inputing and outputing. then you must make your int main() function, this is the function where the program starts and ends and must always return 0;... if it returns anything else, the program will not work. then you must start the main function with the opening bracket, {. then you put your lines of code usually followed by a semicolon, ;. then you have to return something because the main function is of int type. so you must have the line return 0;. then you must end the main function with the closing bracket, }.
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!";
return 0;
}
kind of a bad little tutorial but yea.
study the code, understand what each component does and then and only then, continue with c++... good luck