Hey all,
Probably this is a easy one but not sure how to do it. This is what I have
Is there a way to truncate the ".log" easily? This is the jist of my file some code errors are probably here but again its just the jist.Code:int month=0; char *filename2[] = { "january.log", "february.log", "march.log", "april.log", ......}; while (month<12) { fout<<filename2[month]<<" Sales"<<endl; }