Re: Return Code -1
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Wed, 17 Oct 2007 05:47:17 -0400
naymyo89@xxxxxxxxx wrote:
I searched google and I found a similar post to my question, but
it wasn't answered, so I suppose I could try my luck.
I'm just starting C, and I downloaded and installed lccwin
smoothly. Now I write:
#include <stdio.h>
int main() {
printf("hello world\n");
return 0;
}
which isn't overly complex at all. But when I compile and run it,
I get:
"C:\Documents and Settings\..............." etc
Return code -1
Execution time 0.011 seconds
Press any key to continue....
Why is this happening?
If your description is accurate, you have found a bug in the lcc
system. The only (mild) criticism of your code is the absence of
'void' as the main parameter specification.
--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>
--
Posted via a free Usenet account from http://www.teranews.com
.
- References:
- Return Code -1
- From: naymyo89
- Return Code -1
- Prev by Date: Return Code -1
- Next by Date: Re: Return Code -1
- Previous by thread: Return Code -1
- Next by thread: Re: Return Code -1
- Index(es):
Relevant Pages
|
|