i need also decimal to binary algorithm for c++