is there a simple way of converting an int from base 10 into its binary representation and in reverse in C++? (i need to do some bit-wise operations on some ints, OR/XOR etc).