Difference between revisions of "C++"

From New IAC Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
[[how to make the file name in cycle]]
 
[[how to make the file name in cycle]]
  
* g++ spectrum.C -o spectrum  to compile and build file
+
* to compile and build file
* ./spectrum to run program
+
** g++ spectrum.C -o spectrum   
 +
* to run program
 +
** ./spectrum

Revision as of 21:25, 12 September 2011

go back


how to make the file name in cycle

  • to compile and build file
    • g++ spectrum.C -o spectrum
  • to run program
    • ./spectrum