#include

Boost的array,元素可以是std::string

 #include <iostream>
#include <string>
#include <boost/array.hpp> void main()
{
boost::array<int, >barray = { ,,,, }; barray[] = ; barray.at() = ; int *p = barray.data();//存储数组的指针 for (int i = ; i < barray.size(); i++)
{
std::cout << barray[i] << " " << p[i] << std::endl;
} boost::array<std::string, >cmd = { "calc","notepad","tasklist" };
}
上一篇:iOS常用手势识别器


下一篇:hive 配置文件以及join中null值的处理