摘要:
#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 阅读全文