#include <map>
#include <string>
main()
{
map<string,string> a;
return 0;
}
给出的错误:
e:\temp\string\map.cpp(5) : error C2065: 'map' : undeclared identifier
e:\temp\string\map.cpp(5) : error C2065: 'string' : undeclared identifier
e:\temp\string\map.cpp(5) : error C2065: 'a' : undeclared identifier
问了两遍,希望给俺点提示:(
#include <string>
main()
{
map<string,string> a;
return 0;
}
给出的错误:
e:\temp\string\map.cpp(5) : error C2065: 'map' : undeclared identifier
e:\temp\string\map.cpp(5) : error C2065: 'string' : undeclared identifier
e:\temp\string\map.cpp(5) : error C2065: 'a' : undeclared identifier
问了两遍,希望给俺点提示:(
解决方案 »
- 如何检测局域网的 所有数据包 来分析P2P流量
- 请假Socket问题,急!!!在线等。。。
- 關於Ftp協議,請問建立的數據連接可以一直用嗎?還是,我Get一個文件,就需要重新建立一下數據連接?
- how to ceate a modeless dialog box to go on top of the window at thr platform of SDK
- 启动机子时,总是提示“找到了 PCI device” 要添加该设备的驱动。
- 怎样处理不用按下鼠标左键,然后直接处理WM_MOUSEMOVE的消息?
- 各路大侠,速速显身,救我于水火,急急如律令,破!
- 总结发言
- 如何用API取消任务栏中的“将任务栏保持在其它窗口的前端”
- 如何将托盘恢复为主窗口?
- 这里有大量关于visual c++图形处理的文章
- Winsock连接的问题
#include <string>using namespace std;void main()
{
map<string,string> a;
return 0;
}
#include <string>using namespace std;int main()
{
map<string,string> a;
return 0;
}