C/C++开发问题


std::string length() 和 size() 成员函数
std::string length() and size() member functions(std::string length() 和 size() 成员函数)...
2024-05-12 C/C++开发问题
202

迭代器的默认值是什么?
What is an iterator#39;s default value?(迭代器的默认值是什么?)...
2024-05-12 C/C++开发问题
4

STL 删除没有按预期工作?
STL remove doesn#39;t work as expected?(STL 删除没有按预期工作?)...
2024-05-12 C/C++开发问题
6

std::strings 的容量()、reserve() &调整大小()函数
std::strings#39;s capacity(), reserve() amp; resize() functions(std::strings 的容量()、reserve() amp;调整大小()函数)...
2024-05-12 C/C++开发问题
54

如何从 C++ 容器中获取随机元素?
How to get a random element from a C++ container?(如何从 C++ 容器中获取随机元素?)...
2024-05-12 C/C++开发问题
17

多维 std::array
Multidimensional std::array(多维 std::array)...
2024-05-12 C/C++开发问题
3

boost 是否具有比 STL 更简单的集合操作数据类型?
Does boost have a datatype for set operations that is simpler than the STL?(boost 是否具有比 STL 更简单的集合操作数据类型?)...
2024-05-12 C/C++开发问题
4

矢量或地图,使用哪一个?
vector or map, which one to use?(矢量或地图,使用哪一个?)...
2024-05-12 C/C++开发问题
6

是否有生产就绪的无锁队列或 C++ 中的哈希实现
Is there a production ready lock-free queue or hash implementation in C++(是否有生产就绪的无锁队列或 C++ 中的哈希实现)...
2024-05-12 C/C++开发问题
3

std::vector 是否使用 push_back 复制对象?
Is std::vector copying the objects with a push_back?(std::vector 是否使用 push_back 复制对象?)...
2024-05-12 C/C++开发问题
5

为什么我不能写入字符串文字而我*可以*写入字符串对象?
Why can#39;t I write to a string literal while I *can* write to a string object?(为什么我不能写入字符串文字而我*可以*写入字符串对象?)...
2024-05-12 C/C++开发问题
4

为什么 C++ 允许将整数分配给字符串?
Why does C++ allow an integer to be assigned to a string?(为什么 C++ 允许将整数分配给字符串?)...
2024-05-12 C/C++开发问题
11