Try comp.lang.c++ ----- Original Message ----- From: alexperi To: crossgcc@sourceware.cygnus.com Sent: Tuesday, July 18, 2000 5:42 AM Subject: Fw: 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 #include void main() {  char ch;  int x;  cin.setf(ios::hex);  cout.setf(ios::hex);  cin>> ch;  cout << ch; }