Cplusplus: Difference between revisions

Jump to navigation Jump to search
19 bytes removed ,  5 December 2007
No edit summary
Line 65: Line 65:
  }
  }


The [[Programming On Redbrick]] page explains how to compile C++ programs. Just to recap, we'll go over it again (oh joy!) Save your program in nano by pressing CTRL+O (to bring up the save option) and then CTRL+X to exit.
The [[Programming On Redbrick]] page explains how to compile C++ programs. Just to recap, we'll go over it again (oh joy!) Press CTRL+O to bring up the save option, enter to save and then CTRL+X to exit.


  g++ -o first first.cpp
  g++ -o first first.cpp
244

edits

Navigation menu