No subject

Matthew Majka mmajka@gcs-server.jsc.nasa.gov
Tue Jul 18 06:54:00 GMT 2000


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 <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