C++大数相加

#include 
#include 
#include 
#include 

using namespace std;

string Add(string Str1, string Str2)
{
 // 操作数1
 stackS1;
 // 操作数2
 stackS2;
 // 结果
 stackS3;

 int i, r, last = 0;
 for(i=0; i>N;
 string a, b;
 string* answer = new string[N];
 for(i=0; i>a>>b;
  answer[i] = Add(a, b);
 }

 for(i=0; i

posted on 2008-12-18 19:22  小橋流水  阅读(184)  评论(0编辑  收藏  举报

导航