How can I stop my C++ from appending multiple times to html?
I am trying to create a portfolio for my JavaScript projects. And in order to display the last write time of each index file, I use C++ and write directly to the file. However, because of how I wrote the code, the file that is read and written to is the same. So basically, if I compile my code once, the write time is displayed once. If compiled 2 times, the time is displayed twice, etc.