Home > Back-end >  Please answer
Please answer

Time:10-22

How to use c + + program to save the calculating process in the form of file? For example, require accurate calculation of 100! The value of and in the form of file save calculation process

CodePudding user response:

What is "accurate calculation of 100"

CodePudding user response:

What is your calculation process, please describe the 100! The calculation process?

CodePudding user response:

If the university entrance exam this topic is finished, the topic read 100 times all don't know what to do,

CodePudding user response:

Put the questions in an online jokes, by the way:
Xiao Ming, 2000 m distance from home to the supermarket q: xiao Ming go to the supermarket to buy a roll of toilet paper?

CodePudding user response:

100=100

CodePudding user response:

Visual factorial is 100?

CodePudding user response:

About one hundred factorial, mainly make up a program in the form of file save it

CodePudding user response:

refer to 7th floor u010787343 response:
one hundred factorial, mainly make up a program in the form of file save it


Oh, then you can write file operations writefile

CodePudding user response:

Factorial should be recursive,

CodePudding user response:

9.332622 e+157
Int64 also cannot solve the problem,
To use calculation of large number, will be a little difficult,

CodePudding user response:

C # BigInteger class
The Introduction
BigInteger is a..net 2.0 and Mono library for handling very large integers, up to 10240 binary who leads the or approximately 3000 decimal (safe to use) who.
  • Related