9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] APE printf difference
@ 2008-07-06 22:03 Fernan Bolando
  2008-07-06 22:14 ` erik quanstrom
  0 siblings, 1 reply; 8+ messages in thread
From: Fernan Bolando @ 2008-07-06 22:03 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hi

I am probably posting more noise, but shouldnt the code below print
the prompt first then ask for a char? It works fine under gcc.


#include <stdio.h>

int main()
{
	printf("\nprompt");
	getchar();
	return 0;
}

--
http://www.fernski.com



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-07-09 11:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-06 22:03 [9fans] APE printf difference Fernan Bolando
2008-07-06 22:14 ` erik quanstrom
2008-07-06 23:04   ` Charles Forsyth
2008-07-07 21:01     ` Pietro Gagliardi
2008-07-07 21:21       ` erik quanstrom
2008-07-07 23:02       ` Charles Forsyth
2008-07-08  0:07         ` a
2008-07-09 11:12           ` lucio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).