为什么c++里面会有string,如果有,是如何调用的
这个是调用字符串的函数,你需要在头文件上加入#include<string.h>即可
c里没有string,stirng是c++的。文件后缀名改成.c。