Changes

Jump to: navigation, search

OOP344 - 20101

393 bytes added, 11:11, 17 February 2010
Adding challenge
=== To Do ===
 
==== Challenge ====
 
Write the printf function but call it MyPrint.
It should support
 
* %c (character)
* %s (string)
* %d (integer)
* %X or %x (integer printed in Hex)
* %f (double or float no formating, always printed with 2 digit after decimal point)
 
MyPrint("int %d, char %c, string %s, hex %x, float %f", 2, 'A', "hello", 16, 12.34567);
int 2, char A, string hello, hex 10, 12.34
=== Resources ===

Navigation menu