C语言和上述c++的代码类似,只是string可以直接+,而c语言用字符数组,用strcat
https://blog.csdn.net/jiangqin115/article/details/44751663