TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
|
A class that provides methods to separate the digits of a large positive number. More...
Public Member Functions | |
DigitSeparation () | |
Default constructor for the DigitSeparation class. | |
std::vector< std::int64_t > | digitSeparationReverseOrder (std::int64_t largeNumber) const |
Implementation of digitSeparationReverseOrder method. | |
std::vector< std::int64_t > | digitSeparationForwardOrder (std::int64_t largeNumber) const |
Implementation of digitSeparationForwardOrder method. | |
A class that provides methods to separate the digits of a large positive number.
Definition at line 35 of file digit_separation.cpp.
|
inline |
Default constructor for the DigitSeparation class.
Definition at line 40 of file digit_separation.cpp.
|
inline |
Implementation of digitSeparationForwardOrder method.
largeNumber | The large number to separate digits from. |
Definition at line 68 of file digit_separation.cpp.
|
inline |
Implementation of digitSeparationReverseOrder method.
largeNumber | The large number to separate digits from. |
Definition at line 48 of file digit_separation.cpp.