CodePudding user response:
while (XXX)
{
While (XXX)
{
break;
}
}
CodePudding user response:
Try to goto statements where the continue; Performed from the very beginning, but gets they only want to be in circulation in the bodyCodePudding user response:
char t_date [15].
While (1)
{
If (gets (t_date) [0]=='\ 0');
Else if (strlen (t_date) & lt; 7) printf (" error "\ n");
The else break;
}
Printf (" reault=% s \ n ", t_date);
Try this period, I lean a little than you
CodePudding user response:
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.htmlI hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html