2012年12月18日
摘要: #include<iostream>#include<string>#include<stdlib.h>using namespace std;void nts(int num){ const int SIZE=256; char buffer[SIZE]; int offset=SIZE-1; buffer[offset]='\0'; while(num>=10) { int d=num % 10; num=num / 10; buffer[--offset]=(char)(d+0x30); } buffer[--offset]=(c 阅读全文
posted @ 2012-12-18 23:20 hcmfys_lover 阅读(167) 评论(0) 推荐(0) 编辑