Computer Help forum

General discussion

Calculator in C++ BUILDER

by tof54 / September 28, 2009 5:05 PM PDT

I'm french and I've a problem with my programm! For my studies, I must to make a calculator with the software C++ BUILDER 5! I'm searching to convert numbers Decimal in Binary and in Hexadecimal! Can you help me please??
Thanks for your posts!

Discussion is locked
You are posting a reply to: Calculator in C++ BUILDER
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Calculator in C++ BUILDER
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Re: converting
by Kees Bakker / September 28, 2009 5:33 PM PDT

For didactic reasons, we don't do students homework on the forum. They learn much more when doing it themselves.

So let me only ask: what's your problem?
1. Don't you know or understand that decimal 105 is binary 1101001 and hexadecimal 69?
2. Do you understand how to read it, but can't design (the details of) the algorithm to calculate it?
3. Do you understand the necessary algorithm (= can you do on paper) but are you having troubles translating it to C++?

That are 3 totally different problems that need totally different help. So even if we would like to help, we couldn't do it with the information you provide.

Best of luck with your study!


Collapse -
by tof54 / September 28, 2009 7:16 PM PDT
In reply to: Re: converting

I understand algoritm but I don't manage to convert in C++!My calculator is finished but I would like to improve it! I found the function to convert hexa in decimal or the opposite but I didn't find those which convert hexa or decimal in binary! I can post my programm but it's very long!

Popular Forums
Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions


Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?