Im running through some basic exercises in c++ and some of the structures are not allowed in c++98 mode. Is there anyway I can just set gcc to always compile in c++11 and not c++98. Right now I need to add the -std=c++11 flag in terminal. I read a previous post about using a Makefile. Adding a MakeFile for every directory im running these exercises in seems a bit tedious, is there anyway around that? Im a bit new to altering my compiler so any advice would be appreciated!
Im on a windows 10 machine using powershell at the moment.
Aucun commentaire:
Enregistrer un commentaire