g++中strtok_s is not declear in this scope
我想问问这是什么原因,在头文件中,我引用了#include "string"
using namespace std;
但是还是出错,不知道为什么,麻烦知道的告诉我原因啊,谢啦
[解决办法]
有这个函数吗
是不是写错名字了? strtok_r
[解决办法]
SYNOPSIS #include <string.h> char *strtok(char *str, const char *delim); char *strtok_r(char *str, const char *delim, char **saveptr);