首页
查找话题
首页
C++原子变量数组能用memset置空吗?
C++原子变量数组能用memset置空吗? 第1页
1
haozhi-yang-41 网友的相关建议:
刚分配,保证还没有别的地方用的话,是可以的,也是安全的。
但是如果已经传递出去给外部使用了,那也可以——只是不保证安全。
C++原子变量数组能用memset置空吗? 的其他答案 点击这里
1
相关话题
如果人生有的选,18岁的你凭实力拿到清北录取通知书和因为房产红利变成资产总量三千万的家庭,选哪个?
C++,为什么有了include<iostream>,还需要using namespace std呢?
如何去阅读并学习一些优秀的开源框架的源码?
有人对 C++ 基本数据类型采用 int x{5}; 的方式进行初始化吗?
你工作中最推荐的 C/C++ 程序库有哪些,为什么?
个人或者小团队选择C语言还是c++?
C++20 vs Rust,谁胜谁败?
C 语言和 C++、C# 的区别在什么地方?
为什么根据数组下标获取数据时间是一样的,难道下标不用寻址吗?
如何学习递归呢?
前一个讨论
如果广州遭遇像河南这样的特大暴雨,能顶得住吗?
下一个讨论
如何看待路虎堵宝马 160 天并在车里放价值 145 万花瓶一事,被警方证实为编造的不实信息?
相关的话题
为什么C语言用int *a 来声明指针变量,而不是int &a声明?
怎么形象地理解MFC编程框架?
如何评价博客园关于 C++ 的这篇热门文章?
对C++的匿名函数应具有怎样的态度?
C/C++ 数组大小需要是2的倍数吗?
C++为何不允许在函数中直接传递数组?
C++在面向对象编程中,非虚继承和非虚析构函数的存在是为了解决什么问题? 能否都用虚继承和虚析构函数?
C#中有什么是与C++的setw()、setfill对应的呢?
C/C++中的数组为什么必须定义之后在一行内立刻赋值,而不能定义数组之后换一行再赋值?
C++ 和Java 的 double 类型都是 8 字节,为何 C++ 存不下 3.1415926 ?
C++ 中,如果指针换了被指向的东西,那被指向的原来的东西(是被 new 出来的)所占的内存会立刻被释放吗?
如何让停留在语法层面的 C++,变成实际工程中的 C++?
掌握很多门计算机语言的人不会记串吗?
大型项目中面向过程思想 vs 面向对象思想,哪种开发效率更高?
有哪些关于C++高性能服务器开发的高质量博客?
为什么大学讲授 C 语言比讲授 C++ 的更多?
C++ 的什么是 Java 不能取代的?
C语言编写时,将参数传递跨越多个函数的方式是否是妥当的?
C++ 对 c 兼容是什么意思?
c++的list什么时候用?
代码全是调包的,怎么申请专利?
如何让停留在语法层面的 C++,变成实际工程中的 C++?
如果让你来重新设计(或者改造)C++,你打算怎么设计或者修改?
如何理解 Golang 中“不要通过共享内存来通信,而应该通过通信来共享内存”?
如何修改shared_ptr智能指针,让他支持多线程?
如果加班是自愿的,你们会为了钱加班吗?
如何在在asp项目中正常调用非托管c++dll?
Android 会像 Windows 一样,打败 iOS 吗?
LeetCode上 C++ 官方题解为什么有很多没有写delete,不会内存泄漏么?面试时也可以么?
如何评价《c++并发编程实战》这本书?
服务条款
联系我们
关于我们
隐私政策
© 2024-09-19 - tinynew.org. All Rights Reserved.
© 2024-09-19 - tinynew.org. 保留所有权利