bhupixb

Running a cpp file

May 8th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. g++ -std=c++17 -O2 -Wall -pedantic -pthread main.cpp && ./a.out
  2.  
  3. To execute cpp file in cmd
  4. g++ -std=c++14 -o let let.cpp&let.exe
Add Comment
Please, Sign In to add comment