Search
 
SCRIPT & CODE EXAMPLE
 

CPP

g++ how to compile c++ 17

g++ source_file.cpp -o executable_name -std=c++11 // for C++11
g++ source_file.cpp -o executable_name -std=c++14 // for C++14
g++ source_file.cpp -o executable_name -std=c++17 // for C++17
g++ source_file.cpp -o executable_name -std=c++2a // for C++20
Comment

use c++17 g++

g++ -std=c++1z
Comment

PREVIOUS NEXT
Code Example
Cpp :: finding size of columns and rows in 2d vector c++ 
Cpp :: how to print text on C++ 
Cpp :: accumulate c++ 
Cpp :: how to declrae an array of size 1 
Cpp :: c++ virtual function in constructor 
Cpp :: is C++ useful in 2021 
Cpp :: macro c++ 
Cpp :: how to make crypto 
Cpp :: how to sort a vector in descending order in c++ 
Cpp :: priority queue c++ type of pairs 
Cpp :: c++ area of triangle 
Cpp :: what is __asm in C++ 
Cpp :: how to convert character to lowercase c++ 
Cpp :: print in c++ 
Cpp :: online cpp to exe converter 
Cpp :: C++ convert integer to digits, as vector 
Cpp :: Appending a vector to a vector in C++ 
Cpp :: how to open and read text files in c++ 
Cpp :: c++ find element in vector 
Cpp :: Frequency of a substring in a string C++ 
Cpp :: length of string c++ 
Cpp :: c++ check if vector is sorted 
Cpp :: flags for g++ compiler 
Cpp :: c++ random number between 0 and 1 
Cpp :: sleep c++ 
Cpp :: setprecision c++ 
Cpp :: coordinate in 1d array 
Cpp :: check if a string is palindrome cpp 
Cpp :: cin.getline 
Cpp :: c++ power 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =