Close
Login to Your Account
Faadooengineers
Results 1 to 5 of 5

Thread: Binary to decimal conversion algorithm in C++

Popular topic for study

Rails

All modern railways use steel rails which are specifically rolled for the purpose from steel which has the required qualities of strength, fatigue endurance and wear and corrosion resistance. Read this topic
  1. #1
    Junior FaaDoO Engineer
    Join Date
    Mar 2011
    Posts
    11

    Gender: : Male

    City : Outside India

    Binary to decimal conversion algorithm in C++

    i need a binary to decimal conversion algorithm in c++ with complete analysis



  2. #2
    Junior FaaDoO Engineer
    Join Date
    Mar 2011
    Posts
    11

    Gender: : Male

    City : Outside India

    binary to decimal conversion algorithm

    i need complete analysis of binary to decimal conversion algorithn for c++ programing

  3. #3
    FaaDoO-Administrator FaaDoO-Engineer's Avatar
    Join Date
    Oct 2010
    Posts
    1,257
    Blog Entries
    3

    Gender: : Male

    Branch: : Computer Science Engineering

    City : Noida

    Pdf 32 How to convert Binary to Decimal

    Steps:

    • Get the last digit of the hex number, call this digit the currentDigit.
    • Make a variable, let's call it power. Set the value to 0.
    • Multiply the current digit with (2^power), store the result.
    • Increment power by 1.
    • Set the the currentDigit to the previous digit of the hex number.
    • Repeat step 3 until all digits have been multiplied.
    • Sum the result of step 3 to get the answer number.

    Please find the complete PDF attached, along with various examples inside it...
    Attached Files for Direct Download
      File Name:
      File Size:
      130.8 KB
      Total Downloads:
      21
    * Click on the 'file icon' or 'file name' to start downloading

  4. #4
    Junior FaaDoO Engineer
    Join Date
    Mar 2011
    Posts
    11

    Gender: : Male

    City : Outside India

    i am very thankful to you for help.............

  5. #5
    Passionate FaaDoO Engineer Manoj's Avatar
    Join Date
    Jan 2011
    Posts
    350
    Blog Entries
    12

    Gender: : Male

    Branch: : Electronics Engineering

    City : Delhi

    thanx buddy.........
    FaaDoO Moderator!

Tags for this Thread