Guest User

Untitled

a guest
Dec 18th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. > cl /EHsc mycode.cpp
  2. > mycode.exe
  3.  
  4. g++ -o program program.cpp
  5.  
  6. g++ -o program program.cpp&program.exe
  7.  
  8. @echo off&&cls
  9. set /p pathName=Enter The Path where the file is located:%=%
  10. cd %pathName%
  11. REM set /p exec=Enter The Name of the executable you want to make:%=%
  12. set /p file=Enter The Name of the file you want to compile:%=%
  13. g++ -o %file% %file%.cpp
  14. %file%.exe
  15.  
  16. CC program.cc
  17.  
  18. gcc -o program program.cpp
  19.  
  20. gcc -o program program.cpp&program.exe
Add Comment
Please, Sign In to add comment