From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: wierd problem Date: Wed, 12 Nov 1997 12:21:51 -0500 Organization: Cornell University http://www.cornell.edu Lines: 32 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <3469E5AF.D4189FF2@cornell.edu> References: <01bceff6$b2df4060$63206ccb AT ashod> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0030.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Ashod wrote: > > I recently wrote this. congratulations! > void main (void) int main(void) > { > printf("\nHello"); printf("Hello.\n"); > getch(); return 0; > } > > // but it did it the wrong way round.... it displayed hello after I > hit a key, any thoughts on this ?? see the FAQ. -- ---------------------------------------------------------------------- A. Sinan Unur Department of Policy Analysis and Management, College of Human Ecology, Cornell University, Ithaca, NY 14853, USA mailto:sinan DOT unur AT cornell DOT edu http://www.people.cornell.edu/pages/asu1/