News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Process exited with status 3?

Started by Aqua32, August 02, 2008, 06:44:20 AM

Previous topic - Next topic

Aqua32

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!

Pecan

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.