Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

Convert a hexadecimal number into decimal c++

#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
    int x;
    cin >>hex >> x;
    cout << x << endl;
    return 0;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Convert #hexadecimal #number #decimal
ADD COMMENT
Topic
Name
8+2 =