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]
Home » General Programming » [C/C++] GCC Basic Tutorial
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