This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: newbie gcc question
- To: help-gcc at gnu dot org
- Subject: Re: newbie gcc question
- From: Maggie Owens <mmowens at my-deja dot com>
- Date: Thu, 14 Oct 1999 19:09:52 GMT
- Newsgroups: gnu.gcc.help
- Organization: Deja.com - Before you buy.
- References: <7u31n5$f7m$1@nnrp1.deja.com>
- Xref: wodc7nx0 gnu.gcc.help:1417
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.