1. Compiling a simple program
C : gcc [C or C++ Source Code] -o [Output File]
C++ : g++ [C or C++ Source Code] -o [Output File]
2. Enable C++11
g++ -std=c++11 [C++ Source Code] -o [Output File]
C : gcc [C or C++ Source Code] -o [Output File]
C++ : g++ [C or C++ Source Code] -o [Output File]
g++ -std=c++11 [C++ Source Code] -o [Output File]
Recent Comments