lee*_*ker 3 xcode stl header-files
我在我的项目的一个文件中使用stringstreams,似乎不包括它们的头文件:( #include <sstream>
).给出的错误消息是:
/Users/lee/..../fasta_reader.cpp:13:10: fatal error: 'sstring' file not found [2]
#include <sstring>
^
Run Code Online (Sandbox Code Playgroud)
包含许多其他SC++ L和STL标头,并且从预期位置正确找到它们:/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1
.
这是我已经验证的内容:
我还应该尝试什么?
编辑:找到解决方案 - 我输错了#include <sstring>
而不是#include <sstream>
.