I have a binary data block(a byte), and I want to convert it to decimal. Is there any inbuilt function to do that.
eranga262154
22
Junior Poster
Recommended Answers
Jump to PostAll data are stored as binary. You can only change how it is displayed. If you only want to print the data as decimal, just use normal cout. If not, explain what you want to do with an example input and corresponding output.
All 2 Replies
Reply to this topic
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.