On Dec 25, 2007 2:10 AM, <[EMAIL PROTECTED]> wrote:
> Solved the problem. Had to open GNOME, then get into vi editor. Did
> programming a while back in Linux but it wasn't in vi.
You confused your shell because printf is also a bash command. How did
you do programming on LInux before?
> On Mon, 24 Dec 2007 02:05:33 -0800 Thomas Hruska
> <[EMAIL PROTECTED]> wrote:
> >[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.
> >
>
> --
> Beauty School Programs - Get the career you've always wanted. Click Now.
> http://tagline.hushmail.com/fc/Ioyw6h4fRDT6vbXAjL5FicTKbyYa6fVPott7aeAiMAG3T5wf5CqUyo/
> >http://www.CubicleSoft.com/MyTaskFocus/
>
>
>
> To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.
> Yahoo! Groups Links
>
>
>
>
--
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi