Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!elbereth.rutgers.edu!shmehta From: shmehta@elbereth.rutgers.edu (Shreefal Mehta) Newsgroups: comp.std.c Subject: c programming question Keywords: reading in floating point characters Message-ID: Date: 4 Aug 90 18:20:03 GMT Organization: Rutgers Univ., New Brunswick, N.J. Lines: 19 i hope this is the right newsgp to post to; i went by the title as there was no news to be read in the newsgp. i guess either this means that no one writes to this gp in which case no one reads either, or that my machine does not receive the newsgp.. Any way, my question is simple. i want to read in three Floating POint numbs. i can either read them in from a file or i can type them in. i foundout that i can't do 'getchar.' So how can i read in the data to three variables. THank you shmeht@elbereth.rutgers.edu mehta@orca.rutgers.edu -- ----------------------------------------------------------------------------- - When you get to the end of your rope, tie a knot and hang on. And swing!! Leo Buscaglia ------------------------------------------------------------------------------