title: How to separate integer to 2 other integers? C/C++
body: <p>I have a small problem. I have numbers from 00000001 to 99999999, and they have to be divided into 000 00001 and 999 99999, respectively, and put them in different variables. Who knows elegant solution for this?</p>