Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. #include <sys/ksys.h>
  2. #include <stdio.h>
  3. #include <limits.h>
  4.  
  5. char* test_string1 = "Hello world!";
  6.  
  7. int main(int argc, char** argv){
  8.     printf("Hello world! = %s\n", test_string1);
  9.     printf("345.358980 = %f\n", 345.35898);
  10.     printf("345 = %d\n", (int)345.35898);
  11.     printf("ff = %x\n", 255);
  12.     printf("-1 = %d\n", UINT_MAX);
  13.     printf("5A-4B-N$ = %s%c-%u%c-N%c\n", "5", 'A', 4, 'B', '$');
  14.     puts("Done!");
  15.     return 0;
  16. }
  17.