How do I create a filename with multiple variable types
I have a set of text files where the titles coorespond to the date they were written (such as 01-31-12, where 01 is january, 31 is the thrity first, and 12 is the year). In my C++ code, I have an array with different variables allocating different numbers to different blocks in the array to check different files for a comparison to a keyword. Problem is, the dashes are a char, and the numbers are, well, numbers. Is there an easy workaround for this problem, or do I have to restructure my filenames?
I'm teaching myself programming, so please don't presume a college level education.