I'm new to C++ and I mainly use VB. I need help capturing user input from a textbox. For example, I open up my application and see a blank textbox. I type in "Hello World!" and when I close the textbox, I want it to show "Hello World!" when I reopen my application.
That code captures the input for example.txt, but it doesn't capture the user input from the textbox and save it into example.txt.
How can I capture what's in the textbox and replace everything in example.txt?