exit codes / borland C++ compiler
Posted: Fri Oct 25, 2002 5:28 am
I am trying to use Borland's free C++ compiler with Textpad. I am able to compile and run my C programs using Textpad.
When running a simple HelloWorld program from within Textpad, in addition to the desired "Hello World!", I am receiving the following message -- "Tool completed with exit code 13".
If I run the program from a DOS command prompt, I do not recieve any errors.
1) Anyone know what I might be missing?
2) Does it matter that this is a C program rather than C++?
3) Is there a list of exit code definitions anywhere? (ie, what does 13 mean?)
I am new to this, I appreciate any help I can get! Thank you!
Here is the HelloWorld program (saved in a file named Hello.c):
#include <stdio.h>
main()
{
printf("hello, world\n");
}
--thanks, David
When running a simple HelloWorld program from within Textpad, in addition to the desired "Hello World!", I am receiving the following message -- "Tool completed with exit code 13".
If I run the program from a DOS command prompt, I do not recieve any errors.
1) Anyone know what I might be missing?
2) Does it matter that this is a C program rather than C++?
3) Is there a list of exit code definitions anywhere? (ie, what does 13 mean?)
I am new to this, I appreciate any help I can get! Thank you!
Here is the HelloWorld program (saved in a file named Hello.c):
#include <stdio.h>
main()
{
printf("hello, world\n");
}
--thanks, David