stl 的utility
摘要:
std::pair#include <iostream>#include <utility>#include <string>using namespace std;int main () { pair <string,double> product1 ("tomatoes",3.25); pair <string,double> product2; pair <string,double> product3; product2.first = "lightbulbs"; // ty 阅读全文
posted @ 2012-12-30 14:41 GIS-MAN 阅读(438) 评论(0) 推荐(0) 编辑