-   Linux - Newbie (
-   -   gcc programming error ?? (

sheka&teka 09-18-2003 01:41 PM

gcc programming error ??
what is wrong here ?:

[epsilon@localhost epsilon]$ cat hello.c




printf(¨hello world¨);


[epsilon@localhost epsilon]$ gcc hello.c

hello.c: In function `main':

hello.c:4: stray '\250' in program

hello.c:4: `hello' undeclared (first use in this function)

hello.c:4: (Each undeclared identifier is reported only once

hello.c:4: for each function it appears in.)

hello.c:4: parse error before "world"

hello.c:4: stray '\250' in program

[epsilon@localhost epsilon]$

jailbait 09-18-2003 02:06 PM

For some reason the compiler is not recognizing your open and close parenthesis. This might be a problem with your keyboard mapping.

sheka&teka 09-18-2003 02:06 PM

found the problem. wrong keyboard settings.......

All times are GMT -5. The time now is 04:53 PM.