Thanks for the reply god im dumb! I had a string holding all the file names in a vector and forgot to access the filename element first and then the char element
1 2
char1 = random[0][0];
char2 = random[0][1];
Few weeks not practicing and my mind has gone to mush! :P