Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Aqua32 on August 02, 2008, 06:44:20 am
-
Hi,
I'm pretty new to C/C++ so sorry for the n00b question..
I was going about my business when I exited my application and CodeBlocks told me that the process exited with status 3. What is status 3 and where would I look for more information on status codes?
I did find the problem with my code that causes it. I forgot to initialize a variable in a class constructor which caused problems in my destructor.. But I'm still wondering how to look up status codes that appear in the CodeBlocks Build Log.
MingW/Windows
Thanks!
-
Goggle "ms windows system error codes"
http://msdn.microsoft.com/en-us/library/ms681382(VS.85).aspx
CodeBlocks simply passes along the last program or system return code when the program terminated.
If it's a console program, be sure to do a "return 0;" if you want a clean return code.