#include <string.h>
using namespace std;
namespace charcount
{
int ShowPerCent();
int PerCent();
int Values(char letter);
int analize(string var);
}
此代码是我的项目的“functions.h”的所有部分。这说:字符串未被声明?
functions.h: 7:13: error: 'string' was not declared in this scope
而我不明白为什么说这个。我试着用std::string
和nope。有人知道会发生什么?如果你需要更多的附加信息问。
一般来说,我们并不真正喜欢这里的咒骂。 – 2013-04-08 15:34:56