I'm stuck with forrange loop in VS Code. It gives me error:
expected a ';'
expected an expression
mp[0] = 10;
mp[1] = 200;
mp[2] = 3000;
mp[3] = 40000;
for (int id : mp) // error for ":" and ")"
{
std::cout << id << std::endl;
}
Thank you for answer, Cory but problem still there:
Visual Studio Code c++11 extension warning - OSX Macbook