hi everyone, I am making a textpad(basic textfile creator) in c++(console). It can create text files and then load them. But the problem is that when we load a file it can only show the data but not edit it or write further data. How do I code such that when the textfile is opened the cursor(_) comes at the end of text so that the user can add more text.....,,,,,,.....>>>>>>>
Can ::ios ate do the job. Help me plz....
Secondly how can I open the text file in a different dos window.

You're not going to be editing the file directly. Instead use edit it in memory and then save back to the file. As for editing directly in the console window, you're SOL and need to get creative unless you use some non-standard form of controlling the console (such as pdcurses).