wikiHow: "How to Compile a C/C++ Program on Ubuntu Linux"

Read this article on how to compile and run a C++ program. Even though you do not yet understand the C++ language, you can follow the operational steps to compile a program from C++ to machine code.