[合集] 如何只用putchar来实现itoa?# Programming - 葵花宝典
c*d
1 楼
☆─────────────────────────────────────☆
fame (transfer) 于 (Thu Mar 22 16:28:57 2007) 提到:
而且不用array呢? 好像有点难度...
大家讨论一下把
☆─────────────────────────────────────☆
NoDealToday (乱写错别字可不是小事一桩) 于 (Thu Mar 22 16:32:01 2007) 提到:
why it is hard? A simple loop does that.
☆─────────────────────────────────────☆
fame (transfer) 于 (Thu Mar 22 16:33:35 2007) 提到:
I can only print to screen, how to print to string without using sprintf?
void printit(int n){
if(n == 0)
return;
fame (transfer) 于 (Thu Mar 22 16:28:57 2007) 提到:
而且不用array呢? 好像有点难度...
大家讨论一下把
☆─────────────────────────────────────☆
NoDealToday (乱写错别字可不是小事一桩) 于 (Thu Mar 22 16:32:01 2007) 提到:
why it is hard? A simple loop does that.
☆─────────────────────────────────────☆
fame (transfer) 于 (Thu Mar 22 16:33:35 2007) 提到:
I can only print to screen, how to print to string without using sprintf?
void printit(int n){
if(n == 0)
return;