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]]
  
* to compile and build file
+
* g++ spectrum.C -o spectrum  //compile and build file
** g++ spectrum.C -o spectrum   
+
* ./spectrum   //run program
* to run program
 
** ./spectrum
 

Revision as of 21:29, 14 September 2011

go back


how to make the file name in cycle

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