} BigInteger C(maxSize+1); for(i=0; i //make sure that this number >B before calling - BigInteger BigInteger::operator - (const BigInteger & B) { int i, a=0; BigInteger C(m_size); for(i=0; i a=0; } C.trimSize(m_size-1); //--i return C; } BigInteger BigInteger::operator * (const BigInteger & B) { int i, j, a; BigInteger C(m_size+B.m_size); C.clean(); //set all digits to zero for(i=0; i int main() { BigInteger A, B; char p[10]; while(cin>>A>>p>>B) { if(strcmp(p,\ cout } else if(strcmp(p,\ cout<<(A!=B)< return 0;
2012综合实验四-参考答案(8)
2019-07-31 09:31
2012综合实验四-参考答案(8).doc
将本文的Word文档下载到电脑
下载失败或者文档不完整,请联系客服人员解决!