C/C++开发问题


为什么在C++中通过空指针调用成员函数时程序不会崩溃?
Why doesn#39;t the program crash when I call a member function through a null pointer in C++?(为什么在C++中通过空指针调用成员函数时程序不会崩溃?)...
2023-12-02 C/C++开发问题
3

我可以使用 NULL 代替 0 的值吗?
Can I use NULL as substitution for the value of 0?(我可以使用 NULL 代替 0 的值吗?)...
2023-12-02 C/C++开发问题
3

C++ 或库中是否有空 std::ostream 实现?
Is there a null std::ostream implementation in C++ or libraries?(C++ 或库中是否有空 std::ostream 实现?)...
2023-12-02 C/C++开发问题
7

错误:未在此范围内声明“NULL"
error: ‘NULL’ was not declared in this scope(错误:未在此范围内声明“NULL)...
2023-12-02 C/C++开发问题
6

在 C 或 C++ 中,我应该根据 NULL/nullptr 检查指针参数吗?
In either C or C++, should I check pointer parameters against NULL/nullptr?(在 C 或 C++ 中,我应该根据 NULL/nullptr 检查指针参数吗?)...
2023-12-02 C/C++开发问题
4

C中EOF和'�'的值是什么
What is value of EOF and #39;#39; in C(C中EOF和的值是什么)...
2023-12-02 C/C++开发问题
5

使用 nullptr 有什么好处?
What are the advantages of using nullptr?(使用 nullptr 有什么好处?)...
2023-12-02 C/C++开发问题
5

你如何构造一个带有嵌入空值的 std::string ?
How do you construct a std::string with an embedded null?(你如何构造一个带有嵌入空值的 std::string ?)...
2023-12-02 C/C++开发问题
10

std::string 是否有空终止符?
Does std::string have a null terminator?(std::string 是否有空终止符?)...
2023-12-02 C/C++开发问题
2

你在 C++ 中使用 NULL 还是 0(零)作为指针?
Do you use NULL or 0 (zero) for pointers in C++?(你在 C++ 中使用 NULL 还是 0(零)作为指针?)...
2023-12-02 C/C++开发问题
4

如果我想让 OpenCV dnn 模块加载它,我应该如何保存 PyTorch 的模型
How should I save the model of PyTorch if I want it loadable by OpenCV dnn module(如果我想让 OpenCV dnn 模块加载它,我应该如何保存 PyTorch 的模型)...
2023-12-02 C/C++开发问题
12

使用来自桌面应用程序的 Windows 8 Toast 通知
Use Windows 8 toast notification from desktop app(使用来自桌面应用程序的 Windows 8 Toast 通知)...
2023-12-02 C/C++开发问题
6