Hi everyone, I've been trying to figure out how to make, for example a button in Visual C++ that can take some text from a textbox and save it as a file.
But I don't mean using SaveFileDialog, I want to have it where when the user presses the button it saves the file to a pre-programmed location, and the user wouldn't be able to see anything happen (apart from the file appearing in the location of course). I've tried to use #include <fstream>, but it just generates some errors (not compiling the program.
Any suggestions and advice would be appreciated as it would really help me out. Thanks in advance.