mardi 8 septembre 2020

How to get rid of auto keyword error in c++11? [duplicate]

I am trying to learn C++ on my own and I've just started, so please do not judge me.

I used the auto keyword in VSCode. In the Settings menu, I set C_Cpp > Default:Cpp Standard to C++11, but I still get this warning:

'auto' type specifier is a C++11 extension [-Wc++11-extensions].

I had already installed fundamental extensions, and also looked at other relevant questions about it, and could not find an answer.

Can someone help me?

Aucun commentaire:

Enregistrer un commentaire