Hi,
I am a newbie to visual c++ environment although i do programming in c++.
I am trying to read a filename from a file open dialog box and then trying to read its contents so that they can be written to the exit boxes of a dialog based application.
The file is a simple txt file and have integer or floating numbers one on each line. Now I want to read these numbers from the file and write them to edit boxes. Lets assume that variable associated with "i"th edit box is edit_variable_i. You can assume any name for the file to be read.
Can anyone provide with a piece of code that accomplishes this task.
I am in hurry for this project otherwise instead of asking code directly I would rather have asked for correcting errors in my code.
BTW i m using Visual C++ 6.
Thanx in advance.
Start Free Trial