Author Topic: Process exited with status 3?  (Read 6351 times)

Aqua32

  • Guest
Process exited with status 3?
« 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!

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Process exited with status 3?
« Reply #1 on: August 02, 2008, 02:19:24 pm »
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.