When using Dev C ++ debug carried out today, found that when you run into cout statements, press Next to no response.
Statement to cout << a << endl;
check several data failed to find a solution.
Later in Baidu know or see the solution
The original Dev C ++ endl will encounter this problem, change the '\ n' on it.
cout << a << ‘\n’;