/*
* goto语句,程序中不建议使用
*/
#include<iostream>
using namespace std;
int main()
{
cout << "1" << endl;
cout << "2" << endl;
goto FLAG;
cout << "3" << endl;
cout << "4" << endl;
FLAG:
cout << "5" << endl;
system("pause");
return 0;
}
C++学习第二十四篇
猜你喜欢
转载自blog.csdn.net/weixin_47358937/article/details/121365172
今日推荐
周排行