Numeric Conversions

Hey can anyone help with a statement or sub function that can help me convert a decimal number to a binary number... I can't seem to figure out how to perform the continuous division by T and store the remainders.
closed account (Dy7SLyTq)
c++ doesnt have sub functions
Lol well a sup-program then... A called program if you will
closed account (Dy7SLyTq)
why not just write one function in one program?
http://groups.engin.umd.umich.edu/CIS/course.des/cis400/cpp/binary.html
Thanks a million... My complete program should be able to convert anything to and from decimal/binary/octal/hexadecimal that's why I might need more than one
Topic archived. No new replies allowed.