I would like to know how you could get data from a user and then save it to a .txt file, and then load it back into a program. Would you have to make 2 different source code files, one to write the file and then one to open it?
So what if I made a function that takes data and puts it into a file, and then another function that reads the data?
It would have to take input as long as the data type was null.