i wanna make a hex 2 ascii converter
i mad one for dec 2 hex 2 oct
#include <iostream.h>
#include <iomanip.h>
int main()
{
long int brantook;
cout << " enter the number to convert " << endl;
cin >> matrix;
cout<<"The decimal value of " << brantook <<" is " << matrix <<endl;
cout<<"The oct value of" << brantook << " is " << oct << brantook <<endl;
cout<<"The hex value of" << barntook <<" is " << hex << brantook <<endl;
return 0;
}
what shold i do to make hex 2 ascii converter ??
This post has been edited by brantook: 06 July 2009 - 03:17 AM

New Topic/Question
Reply




MultiQuote




|