C/C++开发问题


从 void* 到基类指针的转换
Conversion from void* to the pointer of the base class(从 void* 到基类指针的转换)...
2023-09-26 C/C++开发问题
4

在 C 中将双精度转换为整数时处理溢出
Handling overflow when casting doubles to integers in C(在 C 中将双精度转换为整数时处理溢出)...
2023-09-26 C/C++开发问题
9

转换指针类型的正确方法
Proper way of casting pointer types(转换指针类型的正确方法)...
2023-09-26 C/C++开发问题
6

C++ 不能通过虚基 A 从基 A 转换为派生类型 B
C++ cannot convert from base A to derived type B via virtual base A(C++ 不能通过虚基 A 从基 A 转换为派生类型 B)...
2023-09-26 C/C++开发问题
2

C++ 什么时候我们应该更喜欢使用两个链接的 static_cast 而不是 reinterpret_cast
C++ When should we prefer to use a two chained static_cast over reinterpret_cast(C++ 什么时候我们应该更喜欢使用两个链接的 static_cast 而不是 reinterpret_cast)...
2023-09-26 C/C++开发问题
2

我应该在 C 样式转换上使用 C++ reinterpret_cast 吗?
Should I use a C++ reinterpret_cast over a C-style cast?(我应该在 C 样式转换上使用 C++ reinterpret_cast 吗?)...
2023-09-26 C/C++开发问题
4

在两个相同类的指针之间进行转换的安全性?
Safety of casting between pointers of two identical classes?(在两个相同类的指针之间进行转换的安全性?)...
2023-09-26 C/C++开发问题
6

C++.错误:void 不是指向对象的类型
C++. Error: void is not a pointer-to-object type(C++.错误:void 不是指向对象的类型)...
2023-09-26 C/C++开发问题
7

关于 C++ 中类型双关的观点?
Opinions on type-punning in C++?(关于 C++ 中类型双关的观点?)...
2023-09-26 C/C++开发问题
2

“.f"的目的附加到一个数字?
Purpose of a quot;.fquot; appended to a number?(“.f的目的附加到一个数字?)...
2023-09-26 C/C++开发问题
3

多重继承:从 void * 转换到第二个基类后的意外结果
multiple inheritance: unexpected result after cast from void * to 2nd base class(多重继承:从 void * 转换到第二个基类后的意外结果)...
2023-09-26 C/C++开发问题
2

可以对内置类型使用 C 风格的强制转换吗?
Is it OK to use C-style cast for built-in types?(可以对内置类型使用 C 风格的强制转换吗?)...
2023-09-26 C/C++开发问题
4