News:

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

Main Menu

Process terminated with status 0

Started by Salient, April 15, 2011, 04:40:48 PM

Previous topic - Next topic

stahta01

Quote from: Ascyndaeon on April 10, 2013, 02:13:26 AM
Quote from: stahta01 on April 10, 2013, 02:08:56 AM
The time is likely different just based on what else is running on your computer; the returned value of 0 is normal for running a program.

There is NO indication that you have a problem.

Tim S.

So then...this "Process terminated with status 0" is really just meaningless, as long as it turns no errors or warnings?

Zero is the normal returned value; if it is NOT zero it typically means something is wrong.

So if "Process terminated with status -1" likely means your program returned -1 in it.
Look up the exit function and return statement for more info.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Ascyndaeon

Quote from: stahta01 on April 10, 2013, 02:19:15 AM
Zero is the normal returned value; if it is NOT zero it typically means something is wrong.

So if "Process terminated with status -1" likely means your program returned -1 in it.
Look up the exit function and return statement for more info.

Tim S.

Oh, okay. Thanks.

stefanos_

If you are under Windows 7 with a firewall and or an antivirus installed, check your antivirus settings; you might have set them at high security and block executables at random. I have had an issue like this in one my PCs at my labs where I work as IT Tech Support.