| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| Message-ID: | <3F7F700C.7A5D5750@incoming.verizon.net> |
| From: | vze565qi AT mail DOT verizon DOT net |
| X-Mailer: | Mozilla 4.73 [en]C-CCK-MCD VERIZON473 (Win95; U) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Compiler Problems |
| Lines: | 29 |
| Date: | Sun, 05 Oct 2003 00:13:16 GMT |
| NNTP-Posting-Host: | 141.153.254.169 |
| X-Complaints-To: | abuse AT verizon DOT net |
| X-Trace: | nwrdny03.gnilink.net 1065312796 141.153.254.169 (Sat, 04 Oct 2003 20:13:16 EDT) |
| NNTP-Posting-Date: | Sat, 04 Oct 2003 20:13:16 EDT |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
I make a very simple program called z.c with the contents of:
#include <stdio.h>
int main()
{
int a, b, c;
a = 5;
b = 7;
c = a + b;
printf ("%d + %d = %d\n", a, b, c);
return 0;
}
The compiler prints a myriad of errors:
samp.c:1: error: stray '\320' in program
samp.c:1: error: stray '\317' in program
samp.c:1: error: stray '\21' in program
samp.c:1: error: stray '\340' in program
samp.c:1: error: stray '\241' in program
samp.c:1: error: stray '\261' in program
I want to know what I did wrong becuase I'm sort of new to programming.
thanks.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |