home *** CD-ROM | disk | FTP | other *** search
/ Programming Win32 Under the API / ProgrammingWin32UnderTheApiPatVillani.iso / Chapter4 / 4-2 / hello.c
Encoding:
C/C++ Source or Header  |  2000-07-16  |  190 b   |  15 lines

  1. #include <stdio.h>
  2.  
  3. int main(int argc, char *argv[])
  4. {
  5.     char szBuf[10];
  6.  
  7.     printf("Hello world\n");
  8.     printf("Enter a character to exit: ");
  9.     scanf("%s", szBuf);
  10.  
  11.     return 0;
  12. }
  13.  
  14.  
  15.