Skip to content
Sign UpLog In
Profile icon

Daniel Hood

@hooddanielc
Repls
Community
hooddanielc
hooddanielc
shared a Post
4 years ago
How do I enable C++14, C++17, C++2a and switch compilers
There are so many features not available in C++11. The latest version available is C++11. Also I don't see an option to choose the compiler. Is there
PedroSerra
PedroSerra
Please check this thread: https://repl.it/talk/ask/Can-I-change-compiler-switches/14401?order=new2 years ago
jasonsun0310
jasonsun0310
why can't we have a button to choose the standard...3 years ago
SPQR
SPQR
Try using the shell as @a5rocks said. To save yourself the trouble of typing the whole command the whole time, make a blank file called main and fill the file with g++ -std=c++17 *.cpp -o run.o chmod 744 /home/runner/run.o /home/runner/run.o (g++ or gcc) (-std=c++17 sets the language standard to C++17, you can change it to -std=c++14 etc to use C++14 or whatever else) to run, open the shell and type bash main.4 years ago