v*******g 发帖数: 334 | 1 I am a beginner to C/C++ ,
wehn I used microsoft VC++ compile the problem , in debug mode,
after running ,黑色的输出结果的窗口闪一下就没了.
The compling result is 0 fails.
Please help. | f******r 发帖数: 333 | | f*****Q 发帖数: 1912 | 3 我依稀记得VC的ide有一个看输出结果的窗口。
【在 v*******g 的大作中提到】 : I am a beginner to C/C++ , : wehn I used microsoft VC++ compile the problem , in debug mode, : after running ,黑色的输出结果的窗口闪一下就没了. : The compling result is 0 fails. : Please help.
| v*******g 发帖数: 334 | | s******e 发帖数: 431 | 5 ctrl+f5
【在 v*******g 的大作中提到】 : I am a beginner to C/C++ , : wehn I used microsoft VC++ compile the problem , in debug mode, : after running ,黑色的输出结果的窗口闪一下就没了. : The compling result is 0 fails. : Please help.
| G**********d 发帖数: 249 | 6 After you build your solution.
click Debug -> Start without debugging
Then the console will remain until you press a key. | v****s 发帖数: 1112 | 7 add this line before your program return(0):
getchar();
【在 v*******g 的大作中提到】 : I am a beginner to C/C++ , : wehn I used microsoft VC++ compile the problem , in debug mode, : after running ,黑色的输出结果的窗口闪一下就没了. : The compling result is 0 fails. : Please help.
| S**I 发帖数: 15689 | 8 or simply ctrl+F5
【在 v****s 的大作中提到】 : add this line before your program return(0): : getchar();
| h*******u 发帖数: 15326 | 9 system("pause");
【在 v*******g 的大作中提到】 : I am a beginner to C/C++ , : wehn I used microsoft VC++ compile the problem , in debug mode, : after running ,黑色的输出结果的窗口闪一下就没了. : The compling result is 0 fails. : Please help.
|
|