18 lines
291 B
C
18 lines
291 B
C
/*
|
|
*
|
|
* Exercise 3-5. Write a function itob(n,s,b that converts the integer
|
|
* m into a base b character representation in the string s. In
|
|
* particular, itob(n,s,16) formats s as a hexadecimal integer in s.
|
|
*
|
|
*
|
|
* Author: Kun Deng
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
|
|
return 0;
|
|
}
|