[comp.windows.ms] I need help with reading from a file

maxc0393@ucselx.sdsu.edu (Hong Mary Nguyen) (11/06/90)

Hello Everbody!

Can anyone who has written Microsoft Windows application programs
tell me if it is possible to read in a float or double value from a file 
using fscanf?  Also, how do you get a filename through the command line,
eg: main (argv, argc), in windows?  I tried to print out lpszCmdLine and
it wasn't what I typed in... 
    I typed in: 'p.exe infile' at the program manager 'run' window
		and lpszCmdLine was equal to "FILE_INFO".

Where did it get that from???!!!#@#%


Thanks in advance!
    Mary (Lost and Confused!)