home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / diverses / tctnt / formiob.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-27  |  247 b   |  16 lines

  1. /* FORMIOB.CPP: **Printf**
  2.  
  3.         A conventional program which output hexadecimal (uppercase
  4.         letters) with a minimum width of 10, left justified.
  5. */
  6.  
  7. #include <stdio.h>
  8.  
  9. int main()
  10. {
  11.     int i = 11;
  12.     printf("%-10X\n", i );
  13.     return 0;
  14. }
  15.  
  16.