Ok so I can get it to write a sentence to the file but im having issues looping it. I have it first create a file and write something in it then update the file within the loop until the user types "done". but its leaving off the first word and its not exiting when I type "done". Also if anyone has any advice on how to make the code shorter? That would be awesome.
You can probably get rid of line 14 as well. And you really should start getting used to using just the constructor when possible:
ofstream biology_flash("C:\\Users\\Jack\\Desktop\\biology_flash_cards.txt"); //sort folder is created and opened.
And don't forget if the user enters "done" for that first input you will write "done" to the file. And you might want to prompt the user telling them what they're entering. ie:
cout << "Please enter your input, enter "done" when finished: ";