jiegenghua / paper-reading

0 stars 0 forks source link

ubuntu compile c++ #35

Open jiegenghua opened 4 years ago

jiegenghua commented 4 years ago

(1) g++ file.cpp This will produce an executable a.out in the same directory. Then ./a.out (2) g++ -o output file.cpp This will compile file.cpp to the binary file output, and then type ./output