My code has stored data enter into program into a text file..
I need a function that can make u view text files in program itself..
Ok, put on your thinking cap...
You wrote a program that writes stuff to a disk file.
Why can't you reverse that process and write one to read it?
What steps did you complete to write the file?
you mean you have stored data in for example "mydata.txt" and you want to call a function that opens your mydata.txt in note pad it self?
That's not what he said... he wants a file viewing function inside his own program...
Originally Posted by C_programmer.C
It should be plenty simple... open file... read line from file... display line on monitor... loop until done... close file.