for语句 vector<string> list = {"A","BC"}; for(auto item : list){ } Goto语句 int a = 1; if(a == 1){ goto end; } a = 2; end: return 0;