I am trying to get my c++ program to take user input from a form and then the c++ program takes it in and prints that input to a file that is located in the same folder it is. For some reason it won't write to the file. Here's the c++ code:
1. It might write the file, but since you didn't provide a path not at the location you expect.
2. Due to ios::in the file must exists otherwise it will not be opened