/*
--------------------------------------------------------------------
PROGRAM: hit-any-key.c Ver: 1.0 Rev: 05/01/2009
DESCRIPTION: C tutor
BY: Jan Zumwalt -
www.neatinfo.com --------------------------------------------------------------------
COMMENTS: Your Very First C Program - Displaying Hello World
--------------------------------------------------------------------
Developed:
Tested using the free C IDE & compiler "PellesC" v5.00.8
Ver info:
1.0 none
*/
#include <stdio.h>
#include <conio.h>
#define HIT_ANY_KEY printf("\n\t Hit any key to continue..."); while(1){ if( _kbhit()) { break; } }
void main()
{
printf("\n\t Hello world");
HIT_ANY_KEY;
}