I'd like to create a program that's gonna contain a large amount of text. I think it might be a good idea to write text elsewhere and take it into program using fstream.
I can handle parsing by myself(I guess), but I have no idea how should I create a file.
I'd like to be able to create file "programsource" on C:\, so I can use ifstream("C:/programsource/source.txt");
However, if I just try to create it with ostream, it isn't created. Looks like file won't create proper folder for itself.
How can I handle this problem?