Hello World 4.c 549 B

123456789101112131415
  1. #define USE_KERNEL // include kernel support
  2. #define USE_TI89 // produce all types of files
  3. #define USE_TI92PLUS
  4. #define USE_V200
  5. #include <stdio.h> // standard ANSI C input/output support
  6. #include <kbd.h> // keyboard handling support, needed for ngetchx
  7. void _main(void) // main entry point is function _main
  8. {
  9. clrscr (); // clear the screen and reset print position
  10. printf ("Hello world!"); // do you know what this is?
  11. ngetchx (); // wait for a keypress
  12. }