hey guys please help me out here.i really liked to know how to convert hexadecimal to binary

Recommended Answers

All 5 Replies

hey guys please help me out here.i really liked to know how to convert hexadecimal to binary

Type "C++ hexadecimal to binary" into the Daniweb and/or Google search box and a lot will come up. That should give you at least a start. Then please post your attempt.

Decimal 123

123 / 10 is 12
123 % 10 is 3

Now replace /N and %N with a base of your choice, rinse and repeat.

Is this a string, or?

I'm guessing from the PM you sent me, before creating this thread you found my code snippets. Why don't you look at those as a starting point. Also why didn't you follow the poliate adive I gave you of posting your attempt?

Since it is rare i respond to PM's

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.