I am sick of hard coding my rpg games, and though of writing the
text i need from int convasation between characters and placing it all in a single text file.
I know fstream imports text from another file into a cpp souce file, but i do not know how to do it! All my books do not suggest using fstream and I do not know how the header works. It would be so usful to me if I knew how to do it..
Do any of you guys know how to incoreperate fstream, or have any links I could follow? Many thanks!
The Cprogramming.com tutorials have a File I/O section in it's tutorials. Check that out.
[EDIT] My redundancy is very redundant. [EDIT]