Ok i've got my file working for input, but I can't get it to except spaces,
This works fine but when i open up my text document it would have something like,Code:ofstream outfile("*file name*", ios::out);
outfile << song[arraynumber].artist;
outfile << song[arraynumber].title;
outfile << song[arraynumber].mediafile;
outfile << song[arraynumber].genre;
outfile << song[arraynumber].duration;
outfile.close( );
Is there something I can add so that each one starts on a new line so they can be read from the file seperately, like they were stored?Quote:
AC\DCback in blackmp3rock345