How to make an array of numbers into one single number?
I am a beginner in C++. I have an array (or vector) of integers, and I want to turn them into a single number. For example:
If the array contains single-digit numbers:
{1, 2, 3, 4}, I want1234.If the array contains multi-digit numbers:
{12, 34, 5}, I want12345.
How can I do this?