Hawkwatch_19's blog

By Hawkwatch_19, history, 6 weeks ago, In English

Help me to fix this problem.

using namespace std;

int main() {
    vector<int> dir = {1,2,3};
    for (auto d : dir)
    return 0;

Whenever I try to run this code in vscode I got this error =>

Is there anyone who ever faced this problem(in mac) and solved it. plz help me. It would be a great relief for me.

Thanks in advance <3.

Full text and comments »

  • Vote: I like it
  • +9
  • Vote: I do not like it