Can anyone please tell me a c++ program to convert a given hexadecimal no. to binary?
Also, vice-versa?
Can anyone please tell me a c++ program to convert a given hexadecimal no. to binary?
Also, vice-versa?
Or better yet, you do it and learn something in the process. Start out and we can help with specific problems you are having. This also smells like homework: C Board - Announcements in Forum : General Programming Boards
actually i have the basic logic outline behind it.Since i am a beginner, i need to know the syntax.
No,your nose is malfunctioning.It is not at all homework.Actually i have learnt C programming but not C++.I have written a c program on this.Now i want to write one in C++.Please help
So show us what you have then.
A switch statement with 16 cases would do it.
It would also help you memorize the conversion.
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"
thanks everybody for ur support....
Can anyone suggest me a free ebook where i can learnC++syntax?Although i found a lot in the web, i want the best one,where evrything is explained nicely
Here ya go...
C++ Book Recommendations
Listed at the top of the message list on this very forum
I'm presently grinding my way through Thinking in C++...
Do you mind videos...?
If you don't... YouTube - C++ Tutorial (1) - Absolute n00b spoonfeed
You ended that sentence with a preposition...Bastard!