| Soorena (2) | |
|
how can i summation 2 huge number for example 2 number with 12 character? please explain arrays and the way of transformation char to int thank you... | |
|
|
|
| Moschops (5956) | |
| Either get a library that handles big numbers, or if you prefer to do it yourself, do it the same way you do it on paper. | |
|
|
|
| Chervil (803) | |
|
How huge is huge? 12 decimal digits will fit into a type double or long double.If its just integers you're interested in, try type long long which can handle about 18 decimal digits (signed) or 19 digits (unsigned).
| |
|
|
|
| Darkmaster (311) | |
|
http://www.cplusplus.com/doc/tutorial/variables/ http://www.cplusplus.com/doc/tutorial/arrays/ http://www.cplusplus.com/reference/cstdlib/atoi/ | |
|
|
|
| Soorena (2) | |
| thank you very much | |
|
|
|