#include <iostream>
using namespace std;
int main()
{
//goto语句
cout << "1\\\\" << endl;
cout << "2\\\\" << endl;
goto FLAG;
cout << "3\\\\" << endl; //跳过
cout << "4\\\\" << endl; //跳过
cout << "5\\\\" << endl; //跳过
FLAG: //定义标识
cout << "6\\\\" << endl;
system("pause");
return 0;
}
//输出
1\\
2\\
6\\