开源使用者 标签

Reinterpret_cast 与 C 风格的转换

2021-12-31 00:00:00 casting c++

我应该在 C 样式转换上使用 C++ reinterpret_cast 吗?

2021-12-31 00:00:00 casting c++ reinterpret-cast

C++ 什么时候我们应该更喜欢使用两个链接的 static_cast 而不是 reinterpret_cast

2021-12-31 00:00:00 casting c++ static-cast reinterpret-cast

为什么我可以在 C 中将 int 文字隐式转换为 int * 而在 C++ 中不能?

2021-12-31 00:00:00 pointers c casting c++

static_cast<Derived *>(Base pointer) 是否应该给出编译时错误?

2021-12-31 00:00:00 casting c++

如何将指针转换为 int

2021-12-31 00:00:00 pointers casting c++

如何从 <chrono> 获取持续时间,如 int 毫秒和浮点秒数?

2021-12-31 00:00:00 timer c++ c++11 chrono

在 C/C++ 中将 int 转换为 bool

2021-12-31 00:00:00 c boolean casting c++

为什么 unsigned int 0xFFFFFFFF 等于 int -1?

2021-12-31 00:00:00 binary c casting c++

错误:从“void*"转换为“int"失去精度

2021-12-31 00:00:00 casting c++ void-pointers

为什么不 reinterpret_cast 强制 copy_n 用于相同大小类型之间的转换?

2021-12-31 00:00:00 复制 binary casting c++ reinterpret-cast

通过 void* 进行转换,而不是使用 reinterpret_cast

2021-12-31 00:00:00 language-lawyer casting c++ reinterpret-cast void-pointers

我可以为任何 C++ 编译器假设 (bool)true == (int)1 吗?

2021-12-31 00:00:00 boolean casting c++

为什么在 Visual Studio 中连续的 int 数据类型变量位于 12 个字节的偏移处?

2021-12-31 00:00:00 visual-studio c stack c++ visual-studio-2013

QtConcurrent 与成员函数

2021-12-30 00:00:00 multithreading qt parallel-processing c++ qtconcurrent

无法打开包含文件:'ntddk.h'

2021-12-30 00:00:00 driver c++ visual-studio-2015 wdk

大小小于 int 的位域是否应该作为积分提升的主题?

2021-12-30 00:00:00 language-lawyer bit-fields c++ visual-studio-2015 integer-promotion

为嵌入式 Lua 重定向/重新定义 print()

2021-12-30 00:00:00 c lua c++

C++:Visual Studio 2015 中未解析的外部符号 _sprintf 和 _sscanf

2021-12-30 00:00:00 c++ visual-studio-2015

未解析的外部符号 __imp__fprintf 和 __imp____iob_func,SDL2

2021-12-30 00:00:00 sdl-2 c++ visual-studio-2015 unresolved-external
  • «
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • »

友情链接: 雨伦博客   雅安论坛

京ICP备15023317号-6