To be able to create a C++ program, you'll need to arm yourself with the following:
Follow the tutorials to learn the basics. Use the reference manual to see how each function should be used correctly.
And of course, use a search engine to look for problems you run into, chances are someone else has come across the same problem and has a solution online.
Good luck!