Message-Id: <33E02244.591F@mail.coos.or.us> Date: Wed, 30 Jul 1997 22:27:32 -0700 From: Jason Dagit Reply-To: thedagit AT mail DOT coos DOT or DOT us Mime-Version: 1.0 To: Razvan Cc: djgpp AT delorie DOT com Subject: Re: sscanf References: <12 AT rcoca DOT pcnet DOT ro> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Razvan wrote: > > Is it posible that sscanf would scan for a string, for an integer > but not for a float or double ? (Is this a known bug in libc?) I am just guessing but maybe you aren't using it right. As far as I know, the syntax is: sscanf("%d", &variable); Of course a lof of that changes depening on what you are looking for. Like the %d will find an int, but to find like an "double float"(or is it float double :) it would be like %lf I can't really help much because I have never used sscanf before. I have used scanf (with one s) tho. Jason