The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: daydreamer on November 21, 2005, 08:12:34 PM

Title: reading floats in textfile?
Post by: daydreamer on November 21, 2005, 08:12:34 PM
what helper function in masm32 does it exist for read floats and ints?

and fseek, how fast is it to seek past sections of file that I dont wanna load into memory?, compared to normal discread on modern computer with diskcache?

Title: Re: reading floats in textfile?
Post by: Siekmanski on November 22, 2005, 08:14:12 AM
you can use "fscanf" in msvcrt.lib to read in floats, ints, strings or a single char from a textfile.