Do I have to create a separate file on a separate blank project or does the code it self do that for me when ran? The book from my class and the sites information is confusing me a little. On another note does it matter whats in the file? Does it have to be in code or is it a reference point for say, maybe a more detailed explanation of what is going on in the program? Or is it a reference point to more code that when accessed it implements more functions into the program... Ive been at this a while and this is briefly explained in the back of chapter and I was confused about what i read so i came here. I did read what I could find on fstream but it wasn't what you sent me.. I did seem to get more out of what you sent me but Im still a little confused about what exactly it does and how to use it... Im Probably about to call it quits for the night and start fresh tomorrow...
Thank you for your time and I would love to hear more.
If you try to load a file, and it doesn't exist, it will be created for you. You can define any type of data in a .txt file. It is common to use to create a custom parser that will search the text document for you, extract the necessary data, and close the file, OR to open a file, load data into the text file in a organized format, and then close file.