Hmm, there's only one part of that C++ program I can see you having troubles with:
cout is the way C++ programs print to the console. This is done using the << operator.
So, for example:
cout <<...