how convert from decimal to binary number using c++ language?

Recommended Answers

All 3 Replies

How would you do it on paper? The first task is to understand the problem and solve it manually, step by step. Then you'll be in a better position to translate those steps into C++.

commented: The way to answer! +14

Yeah, deceptikon is definitly correct. I would just add that if you need to look over how to convert decimal to binary you should check out this site

And, what do YOU mean by the term "convert"? Do you mean to print it out as binary 0's and 1's? Or, something else?

commented: Good observation ;) +13
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.