C++ 中最合适的表表示形式
Most suitable table representation in c++?
我需要经常用 c++ 表示一个表。例如,在应用程序中,我需要维护一个表,如下所示。
int analog_channel;
int operator_channel;
state channel_state;
string phone_number;
但我需要使analog_channel
和operator_channel
可索引。对于此类数据,boost_multiindex
或其他东西,C++ 中最合适的表表示形式是什么?
boost::multi_index 将是一个不错的选择。
你试过qT吗?我认为它具有一些boost的功能,但这就是我使用的,它很可爱:D
http://qt.nokia.com/products/
您可以查看该站点上的功能列表,以获取每个类的详细信息...
相关文章:
- 表示"accepting anything for this template argument" C++概念的通配符
- 如何将ampl中的集合表示为c++中的向量
- std::is_base_of表示ctor编译错误
- 输入中的字符串数未知(以字母表示)
- 我可以信任表示整数的浮点或双精度来保持精度吗
- c++模板来表示多项式
- 询问在设计我的手臂模拟器功能表示格式1
- CMakeLists.txt中的命名空间表示法
- C++射线示踪剂ppm表示没有足够的数据来显示图像
- 如何计算Big-O表示法中的平均渐近运行时间
- 我应该如何表示我拥有的连续元素序列?
- 在C++中,使用带有 std::optional 参数的函数<T>来表示可选参数是否有意义?
- 在 std::无符号字符的向量处存储 int 的十六进制表示形式
- 表示类模板C++空类型
- 具有所表示类的相同构造函数签名的代理类模板
- 嵌套在循环中的两个循环的 big-O 表示法
- 具有引用成员的结构是否具有唯一的对象表示形式
- 使用 int 表示浮点除法 C++
- Geeksforgeeks C 程序故障排除:IEE 754 表示法为十进制
- 如何知道n!是否可以表示为三个连续数字的乘法?