don't store the number as a number, use a string or a character array (same thing) and use the subscript operator to output it
string thingey = "23";
cout << thingey[1] << thingey[0];
|
Results 1 to 10 of 11
Thread: How to get a reversed numberThreaded View
|
|