From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Matthew Majka" To: "alexperi" , Subject: Re: Date: Tue, 18 Jul 2000 06:54:00 -0000 Message-id: <005101bff0c0$8a56bab0$8ac4a98b@jsc.nasa.gov> References: <20000718104219.894.qmail@hotmail.com> X-SW-Source: 2000-07/msg00100.html 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; }