开源使用者 标签

可以在 C++ 中实现 XOR 链表而不会导致未定义的行为吗?

2022-01-01 00:00:00 linked-list data-structures xor language-lawyer c++

C++ 中的链表使用引用而不是指针

2022-01-01 00:00:00 linked-list data-structures reference c++

为什么链表使用指针而不是将节点存储在节点内

2022-01-01 00:00:00 linked-list pointers c++

Constexpr 编译错误使用 std::acos 和 clang++ 而不是 g++

2021-12-31 00:00:00 compiler-errors c++ constexpr c++14 clang++

如何与他人分享我的 SFML 游戏而不会出错?

2021-12-31 00:00:00 exe dll compiler-errors c++ sfml

我可以使用 #include "pch.h" 吗?而不是 #include "stdafx.h";作为我在 Visual Studio C++ 中的预编译头文件?

2021-12-31 00:00:00 visual-studio compiler-errors c++

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

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

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

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

Qt:是否“新建而不删除"?使用控件导致内存泄漏?

2021-12-31 00:00:00 qt memory-leaks c++

使用引用而不是指针是否可以解决 C++ 中的内存泄漏问题?

2021-12-31 00:00:00 reference memory-leaks c++

为什么必须在构造函数初始值设定项中而不是在其主体中初始化 const 成员?

2021-12-30 00:00:00 initialization constructor constants c++

为什么具有固定基础类型 char 的枚举值解析为 fct(int) 而不是 fct(char)?

2021-12-29 00:00:00 enums overloading c++ c++11 overload-resolution

c ++如何在不同的枚举名称中使用相同的枚举成员名称而不会出错:重新定义;以前的定义是“枚举器"

2021-12-29 00:00:00 enums c++

为什么允许通过常量引用而不是通过普通引用传递 R 值?

2021-12-29 00:00:00 parameters literals c++ pass-by-const-reference

包含 .cpp 而不是 header(.h)

2021-12-28 00:00:00 build c++ header-files

如何让 CMake 在 Mac OS X 上使用 GCC 而不是 Clang?

2021-12-26 00:00:00 cmake c++

什么是 uint_fast32_t,为什么要使用它而不是常规的 int 和 uint32_t?

2021-12-25 00:00:00 c types c++

为什么 C++ 流使用 char 而不是 unsigned char?

2021-12-25 00:00:00 overflow stream types iostream c++

调用 free() 或 delete 而不是 delete[] 有什么危险吗?

2021-12-24 00:00:00 memory-management c++ new-operator free

如果 32 位整数溢出,我们可以使用 40 位结构而不是 64 位长的结构吗?

2021-12-24 00:00:00 c memory-management c++ integer-overflow
  • «
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • »

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

京ICP备15023317号-6