I'm trying to use strcat() to put together a string. I have the following array of strings:
I'm trying to concatenate the strings in this array into another string in order to make a path.Code:exc;
The problem is that the statement in bold adds the entire array exc to the path (as in ALL the strings in array exc).Code://build sting strcat(path, "./"); strcat(path, asg); strcat(path, "/"); strcat(path, exc[x]);
How can I avoid this and extract individual elements from the array?