SyntaxFix
Write A Post
Hire A Developer
Questions
Add this option: -std=c++11 while compiling your code
-std=c++11
g++ -std=c++11 my_cpp_code.cpp