Hi, havn't posted in a while lads and lasses, been designing my text engine.
Anyways....... I was thinking that instead of hardcoding all the text in the program, I could write the storyline, directions etc.... in text file(s). It would save alot of my time coding. But this is where i'm sort of in a debate with myself, should I write a class/function to load/close the text file when needed\not needed or just load it whenever I need it? If it's the first option then can you kind people advise me on how to do it, i'm not that good with fstream.
Thanks
Beene



LinkBack URL
About LinkBacks


