mercredi 5 août 2015

How to make g++ force me to adhere to C++ standard


I am trying to learn C++ having no previous experience with it or C, and I see that some training materials are sometimes trying to teach me C coding instead of C++.

As I don't have enough knowledge to discern if the books are trying to teach me proper C++ or not, I thought I could set some parameter on g++ compiler to save me this problem. So here my question is:

How can I set the g++ compiler in Windows so that he won't compile if what I am writing is not pure C++ standard?

Many thanks in advance



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire