Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!ucselx!maxc0393 From: maxc0393@ucselx.sdsu.edu (Hong Mary Nguyen) Newsgroups: comp.windows.ms Subject: I need help with reading from a file (Windows) Message-ID: <1990Nov6.073300.16971@ucselx.sdsu.edu> Date: 6 Nov 90 07:33:00 GMT Sender: maxc0393@ucselx.sdsu.edu (Hong Mary Nguyen) Distribution: usa Organization: San Diego State University Computing Services Lines: 15 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!)