User forums > Help
Process terminated with status 0
Ascyndaeon:
I'm having this same problem. I'm just following "C++ All In One For Dummies (2nd edition)" (because I'm a beginner, haha).
I'm using Code::Blocks 8.02 and the book told me to put this code in:
--- Code: ---#include <iostream>
using namespace std;
int main()
{
cout << "Hello, I am your computer talking." << endl;
return 0;
}
--- End code ---
I did this, then clicked Build->Build and it came up with this message.
"Process terminated with status 0 (0 minutes, 0 seconds)"
"0 errors, 0 warnings"
So I'm wondering why it would say there are no errors but still gives me the "terminated with status 0"? I went and ran it and it seemed to work, but its execution time was 0.062 s instead of 0.015 s (which I'm worried that if I'm writing bigger programs, they will compile slower with this problem?)...it's just strange that that would happen...
stahta01:
--- Quote from: stahta01 on April 15, 2011, 07:33:59 pm ---Turn on Full Compiler Logging and do a Full Rebuild and possible you have a compiler error that will show up in the build log.
See MortenMacFly Signature for Compiler logging.
Or, Wiki FAQ http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
Tim S.
--- End quote ---
I ask for the last time; if you do NOT post the "build log", then do NOT expect any help from me!
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
Tim S.
Ascyndaeon:
--- Quote from: stahta01 on April 10, 2013, 01:59:20 am ---
--- Quote from: stahta01 on April 15, 2011, 07:33:59 pm ---Turn on Full Compiler Logging and do a Full Rebuild and possible you have a compiler error that will show up in the build log.
See MortenMacFly Signature for Compiler logging.
Or, Wiki FAQ http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
Tim S.
--- End quote ---
I ask for the last time; if you do NOT post the "build log", then do NOT expect any help from me!
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
Tim S.
--- End quote ---
--- Code: ----------------- Build: Debug in SayHello ---------------
mingw32-g++.exe -Wall -fexceptions -g -c C:\CPP_Projects\SayHello\main.cpp -o obj\Debug\main.o
mingw32-g++.exe -o bin\Debug\SayHello.exe obj\Debug\main.o
Output size is 57.26 KB
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings
--- End code ---
...is this what you wanted?
stahta01:
--- Quote from: Ascyndaeon on April 10, 2013, 01:45:08 am ---I'm having this same problem. I'm just following "C++ All In One For Dummies (2nd edition)" (because I'm a beginner, haha).
I'm using Code::Blocks 8.02 and the book told me to put this code in:
--- Code: ---#include <iostream>
using namespace std;
int main()
{
cout << "Hello, I am your computer talking." << endl;
return 0;
}
--- End code ---
I did this, then clicked Build->Build and it came up with this message.
"Process terminated with status 0 (0 minutes, 0 seconds)"
"0 errors, 0 warnings"
So I'm wondering why it would say there are no errors but still gives me the "terminated with status 0"? I went and ran it and it seemed to work, but its execution time was 0.062 s instead of 0.015 s (which I'm worried that if I'm writing bigger programs, they will compile slower with this problem?)...it's just strange that that would happen...
--- End quote ---
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.
Ascyndaeon:
--- 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.
--- End quote ---
So then...this "Process terminated with status 0" is really just meaningless, as long as it turns no errors or warnings?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version