c语言.大数的输出

转化成字符串,再用for循环输出:

#include <stdio.h>
#include <string.h>
int main()
{

    char s[32];
    int d, i;
    gets(s);
    d = strlen(s);
    for( i = 0; i < d; i ++ )
        putchar(s[i]);
    return 0;

}
   疑问:如何进行大数的计算?

 

posted @ 2013-07-26 16:48  心中的阿哲  阅读(578)  评论(0编辑  收藏  举报