Combine two numbers into one. Example: 123 and 456 become 123456
Posted
by Bei337
on Stack Overflow
See other posts from Stack Overflow
or by Bei337
Published on 2010-04-09T21:33:17Z
Indexed on
2010/04/09
21:43 UTC
Read the original article
Hit count: 288
In C++, how do I combine (note: not add) two integers into one big integer?
For example:
int1 = 123;
int2 = 456;
Is there a function to take the two numbers and turn intCombined into 123456?
© Stack Overflow or respective owner