I have two questions. One, the odds of me getting my hands on source code that I actually care about that was written in Code::Blocks are two small to calculate. Such the case, I cannot open a source file, hit F9, and go. Is there an efficient way of translating other people's source code into your compiler so you can compile it raw?

Two, I have read the method for converting a number to binary is the number divided by two, the remainder (one or zero) becomes a binary digit, and the result is divided by two. This process continues until the result is zero or < 0. The remainders are then constructed in reverse order to form a set of 0's and 1's that represents the number. I tried to write a program to convert a number into binary, but what I don't know is, how do I take a division, but the remainder in one int array, and the result in an int variable to be re-divided?

Thanks,

-CG20