aquaballoon

Compile Command

Jul 13th, 2013
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.24 KB | None | 0 0
  1. ## C Compile
  2. $ gcc main.c -o HelloWorldC
  3. $ ./HelloWorldC
  4.  
  5. ## C++ Compile
  6. $ g++ main.cpp -o HelloWorldCPP
  7. $ ./HelloWorldC
  8.  
  9. ## Java Compile
  10. $ javac HelloWorldJ.java
  11. $ java HelloWorldJ
  12.  
  13. $ java -jar HelloWorldJ.jar  // Eclipse export to jar
Advertisement
Add Comment
Please, Sign In to add comment