In my MFC application project during runtime i want create a txt file and i want store some data in that i dont want to create the notepad file in any Hard drive. It must be in application only. when i click a IDC_BUTTON1 then it must open.then the user must decide wheather the txt file has to save in hard disk or not.
So how to create a notepad file during a execution and same file i have to open and read during the execution time.