244
edits
mNo edit summary |
No edit summary |
||
| Line 68: | Line 68: | ||
g++ -o first first.cpp | g++ -o first first.cpp | ||
The -o parameter allows you to tell the compiler where you want to have the compiled program saved and what you want its name to be. In this case, it'll be compiled to the same folder as your source file, first.cpp | |||
Your program ''should'' compile. If it does, run it by entering | Your program ''should'' compile. If it does, run it by entering | ||
edits