又是Code::Blocks,老显示Process terminated with status -1073741510,今天查了一下。

 

-1073741510就是0xC000013A,也就是STATUS_CONTROL_C_EXIT。

应该是运行中按CTRL+C终止程序运行时返回这个值。


However this exit code simply means that the CMD Prompt Windows was closed during execution of the script.
表示命令窗口在程序执行过程中被关闭。