Opening a .html file from the console
Hey everyone. My game's compiler is written in C++ in the console, and because of that, I can't do any graphics. But in the compiler, I need sort of a "Preview" mode, so I can generate a .html file that shows a preview of the map. Last time I tried this, it worked pretty well, except for one thing.
When I opened the .html file from the console when other internet explorer windows were open, it said the file was not found. When I opened the .html file from the console when no other internet explorer windows were open, it worked just fine. Why is this happening?
I'm using an ofstream in text mode, writing the HTML, and then using the system() function to open it.