C/C++开发问题


避免繁琐的可选参数
avoiding the tedium of optional parameters(避免繁琐的可选参数)...
2023-09-27 C/C++开发问题
6

为什么 C++ 没有 const 构造函数?
Why does C++ not have a const constructor?(为什么 C++ 没有 const 构造函数?)...
2023-09-27 C/C++开发问题
2

在 C++ 中禁止复制构造函数的最可靠方法是什么?
What#39;s the most reliable way to prohibit a copy constructor in C++?(在 C++ 中禁止复制构造函数的最可靠方法是什么?)...
2023-09-27 C/C++开发问题
2

什么是 C++ 中的就地构造函数?
What is an in-place constructor in C++?(什么是 C++ 中的就地构造函数?)...
2023-09-27 C/C++开发问题
4

C++:在构造函数中初始化变量的位置
C++: Where to initialize variables in constructor(C++:在构造函数中初始化变量的位置)...
2023-09-27 C/C++开发问题
2

内置类型(int、char 等)的析构函数
Destructors of builtin types (int, char etc..)(内置类型(int、char 等)的析构函数)...
2023-09-27 C/C++开发问题
1

创建一个对象:有或没有`new`
Creating an object: with or without `new`(创建一个对象:有或没有`new`)...
2023-09-27 C/C++开发问题
11

什么是 C++ 中的复制构造函数?
What is a copy constructor in C++?(什么是 C++ 中的复制构造函数?)...
2023-09-27 C/C++开发问题
2

如何在构造函数中初始化 C++ 对象成员变量?
How can I initialize C++ object member variables in the constructor?(如何在构造函数中初始化 C++ 对象成员变量?)...
2023-09-27 C/C++开发问题
4

什么是 C++ 中的非平凡构造函数?
What is a non-trivial constructor in C++?(什么是 C++ 中的非平凡构造函数?)...
2023-09-27 C/C++开发问题
5

if 语句中变量的范围
Scope of variables in if statements(if 语句中变量的范围)...
2023-09-27 C/C++开发问题
11

我应该对 C++ 中的成员变量和函数参数使用相同的名称吗?
Should I use the same name for a member variable and a function parameter in C++?(我应该对 C++ 中的成员变量和函数参数使用相同的名称吗?)...
2023-09-27 C/C++开发问题
8