Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Windows Develop Other
  • Category : Other
  • Tags :
  • Update : 2013-05-11
  • Size : 1kb
  • Downloaded :0次
  • Author :El***
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
定义实现大整数运算的类LINT,该类实现两个100位以内的大整数的加法和结果输出。 类可以有如下的类似定义: class LINT { private: // …… public: LINT(char*) LINT operator+(const LINT& L) ostream& operator<<(const ostream& os, const LINT& L) // …… } 要求: 1)构造函数LINT::LINT(char*)初始化大整数。可以根据自己的要求增加定义任意形式和任意个数的构造函数。 2)用“cout << LINT的对象”形式打印大整数的值。 3)可以根据需要,自行增加类LINT的成员函数和成员变量。 4)类中的运算符重载方式,既可以重载为类的成员函数,也可以重载为类的友元函数。 5)100位的大整数可以用数组或者链表来实现,也可以用你认为合适的数据结构。 程序中可能如下使用类LINT: void main() { LINT L1("12345678900987654321"), L2("9876543210"), L3 L3 = L1+ L2 cout << L3 …… } 说明:假设L1 = 12345678900987654321,L2 = 9876543210。
Packet file list
(Preview for download)


2.cpp
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.