chardll.h#ifndef CHAR_DLL_H
#define CHAR_DLL_H
#include <string.h>
extern "C" int __declspec(dllexport)add(char c[]);
#endifchardll.c#include "chardll.h"
#include "stdlib.h"
#include <string.h>
int add(char c[])
{
int a,b;
char *p;
p = strtok(c,",");

a = atoi(p);
p = strtok(NULL,",");
b = atoi(p);

return (a+b);
}
编译出错: error C2059: syntax error : 'string',提示指到“extern "C" int __declspec(dllexport)add(char c[]);”
该怎么解决呢,请各位大侠指教,谢谢!