I am new to C++, having just a bit of programming experience in Python. On setting C++ up in VSCode, I have installed C/C++ by Microsoft, C/C++ Extension Pack and also Code Runner by Jun Han. These choices, especially the latter, were made based on some Youtube videos I watched.
Upon trying to Initialize with the curly brackets, I realised the code wouldn't compile. I ran a check compiler program and found out the compiler's version is C++98. I want to change to a more recent version which supports the newer features.
That said, how exactly do I change a compiler version, and which one do you recommend? Is C++11 already outdated?
I tried looking it up, and I think the line code-runner.executorMap
could be useful, but I don't really know how to use it. Is there a way to do it in Settings or will I have to change it through the Terminal?
Thanks in advance!