搖頭丸的故事
string - concatenate char array in C - Stack Overflow搖頭丸的故事話說有一天,小明在班上挖鼻屎這時候小強經過了小強:『看!小明在挖鼻屎阿!!!』這時候小明緊張了,他怕大家知道他在挖鼻屎小明:『這不是鼻屎,這是搖頭丸!!!』小強:『你喇叭我!大家快來看他的搖頭丸喔!』然後小明就把那顆鼻屎彈到小強頭上於是小強就開始瘋狂搖頭……眾I have a a char array: char* name = "hello"; I want to add an extension to that name to make it hello.txt How can I do this? name += ".txt" won't work...
全文閱讀