求较大者的一个题,为什么我运行以后,输入了数字按回车就自动关掉了cmd? 我用的是dev-c++
业精于勤,荒于嬉;行成于思,毁于随。
Put a breakpoint, or try ctrl+F5
Just switch to VS
It is estimated that the main function exits directly after you complete the input. You should add a function like getc() before the main function finally returns to let the program hang
Put a breakpoint, or try ctrl+F5
Just switch to VS
It is estimated that the main function exits directly after you complete the input. You should add a function like getc() before the main function finally returns to let the program hang