This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: newbie gcc question


Thank you all for your kind help and detailed instructions!

The solution to the problem was simple, and I suppose it might have
something to do with my terminal type:
I had to add a \n to the end of the printf statement, so it now reads:
  printf("Hello, world!\n");
Now it works as expected when I type
  ./a.out

Cool.


--
Autoreplies will (hopefully) bounce. To reply to me, please send mail
to mmowens at panix dot com.


Sent via Deja.com http://www.deja.com/
Before you buy.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]