Fw:

alexperi perialex@hotmail.com
Tue Jul 18 03:42:00 GMT 2000


I need to read hexadecimal numbers from the 
keyboard
This is my program but as you gather it doesn't 
work.
Need some help. Thanx
file://-----------------------------------------
#include <iostream.h> #include 
<math.h> void main() {  char ch;  int 
x;  cin.setf(ios::hex);  cout.setf(ios::hex);  cin>> 
ch;  cout << ch;
}



More information about the crossgcc mailing list