Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Windows Develop

HugeInteger

  • Category : Windows Develop
  • Tags :
  • Update : 2012-11-26
  • Size : 367kb
  • Downloaded :0次
  • Author :肖***
  • 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
Create a class HugeInteger that uses a 40-element array of digits to store integers as large as 40 digits each (e.g. 8783 is stored as an array of {3,8,7,8,0,0,0,....} ), and use another boolean member to denote whether it is positive or negative. . a. Provide member functions input, output, add,substract. Check if these operations cause overfl ow, i.e. larger than 40 digits, or underfl ow, i.e. less than 0. b. For comparing HugeInteger objects, provide functions isEqualTo, isNotEqualTo, isGreaterThan, isLessThan, isGreaterThanOrEqualTo and isLessThanOrEqualTo-- each of these is a predicate function that simply returns true if the relation holds between two huge integers and returns false otherwise. c. Also provide a predicate function isZero. d. Write a driver program to test class HugeInteger.
Packet file list
(Preview for download)
HugeInteger\debug\HugeInteger.exe
...........\HugeInteger\Debug\BuildLog.htm
...........\...........\.....\HugeInteger.exe.intermediate.manifest
...........\...........\.....\Implementation.obj
...........\...........\.....\Implemention.obj
...........\...........\.....\mt.dep
...........\...........\.....\Test.obj
...........\...........\.....\vc80.idb
...........\...........\HugeInteger.h
...........\...........\HugeInteger.vcproj
...........\...........\HugeInteger.vcproj.PC-201103072012.Administrator.user
...........\...........\HugeInteger.vcproj.XIAOXIN.Administrator.user
...........\...........\Implementation.cpp
...........\...........\Test.cpp
...........\HugeInteger.ncb
...........\HugeInteger.sln
...........\HugeInteger.suo
...........\...........\Debug
...........\debug
...........\HugeInteger
HugeInteger
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.