CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Thread: Help Needed...

Threaded View

  1. #1
    Join Date
    Aug 2002
    Posts
    16

    Help Needed...

    Hi all,
    At the moment I have been experimenting with writing C++ classes, objects and other behaviours.

    I have currently written a limited Binary counter class, which when the user enters in two Binary numbers, they are presented with a menu that asks the user what operation they wish to perform. It sort of acts like a binary calculator....It adds, subtracts, multiplies, divides, increments and decrements the two binary numbers, depending on which menu option the user chooses.

    I know want to be able to change the program around, so that it takes in two Hexadecimal values instead of two Binary values. I still want all the functionality to be the same, but it outputs the answer in Hexadecimal values.

    Below is the Binary code:
    Instead of it working with Binary numbers I want the program to work with Hexadecimal numbers.

    Instead I have attached the files...

    The main ".cpp" file and the ".h" file

    Any help would be greatly appreciated...
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured