samedi 25 août 2018

How to find out which c++ standard used in a binary file?

For example, I have a "helloworld" cpp file named main.cpp.
If I compile it with flag -std=c++11. And I compile it again with flag -std=c++03.
How can I specify which is compiled with c++11 flag between this two?

Aucun commentaire:

Enregistrer un commentaire