[EMAIL PROTECTED] wrote:
> I opened up a GNOME terminal in SuSe 10.1 and tried a simple C 
> program
> 
> but after I typed
> 
> printf(“hello\n”);
> 
> I got a “syntax error near unexpected token” indication. Does that 
> have anything to do with the GNOME I’m running in SuSe.

Show us the complete program.  Typing code in a terminal won't do a bit 
of good (in case you were doing that).  Use a text editor or IDE to 
enter in your program, gcc to compile and run the linker, and then you 
can execute the program upon successful compilation.  I seriously doubt 
the window manager or OS has anything to do with why you are getting a 
syntax error.

Also, the printf() statement above is...odd looking.  Almost like it was 
entered into some sort of word processor instead of a text editor. 
Funky characters could be what's wrong but without seeing the complete 
program, that's hard to tell for certain.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to