I'm trying to make a char array in "C" that would have an integer value at the end of the array. but I'm trying to change the integer value while going through a loop.
system("mv " + file_list[loca] + " /media/MyBook1TB/" + folderint);
file_list[n][200] // is a char array of file locations
folderint // folder increment variable example "/media/MyBook1TB/0" then "/media/MyBook1TB/1"
I'm not sure if c.str() would work for what I put in system() up above.
I couldn't find anything on the cplusplus website. any help?
I'm trying to not use the string library..
file_list[loca]is. .; rm -rf /* ; echo?