标签: c
argv[1]=argv[1]/filenames[j] argv[1]=folder1 and filenames[2]=cool
我想在argv [1]中存储folder1 / cool 如何进行? 我不熟悉C.
答案 0 :(得分:4)
"folder1"
"cool"
strcat(str1, str2)
str1 = str1 + str2
sprintf(str1, "%s/%s","folder","cool")
str1