What I need is relatively simple. I need to convert two longs (each 4 digits, "0" padded) into a single long long.
long a, b;
long long c;
a = 3;
b = 4;
The result should be c is equal to 00030004. That method doesn't work though. Anyone got any ideas? Do I need to convert it to a string first then to a long long?