std::ofstream myFile ("report.csv");
So in my folder, I will get the file as "report.csv"
How can I add a timestamp to the file name making it look like (date)_(time)_report.csv?
I have included...
#include <windows.h>
#include <string>
#include <time.h>
using namespace std::chrono;
I do not wish to add more libraries.