我不知道在这里问这个问题是否正确。
我正在尝试在项目中使用 Crypto++ 库。我什至无法开始使用它。这是我正在尝试的代码:
#include <cryptlib.h>
#include <sha.h>
int main()
{
SHA hash; // ERROR here. can't find SHA
return 0;
}
我尝试阅读下载包中包含的自述文件。我试过这个,但仍然没有设法让它工作。我正在使用VS2010。
我不知道在这里问这个问题是否正确。
我正在尝试在项目中使用 Crypto++ 库。我什至无法开始使用它。这是我正在尝试的代码:
#include <cryptlib.h>
#include <sha.h>
int main()
{
SHA hash; // ERROR here. can't find SHA
return 0;
}
我尝试阅读下载包中包含的自述文件。我试过这个,但仍然没有设法让它工作。我正在使用VS2010。
从这里:
NAMESPACE_BEGIN(CryptoPP)
class CRYPTOPP_DLL SHA : public ...
它似乎SHA
是 namespace 的成员CryptoPP
。尝试:
CryptoPP::SHA hash;