What I am trying to do is generate lists of files in folders and store them in a char array. However, I dont know how to add a filename on the next loop. How do you add things to a character array?
You cant do it like this:
char ch = new char;
ch = "hi";
ch = ch + "hi"; // does not work
ch += "hi"; // does not work
I tried using strcat() but my program crashes whenver I use it.