首页
查找话题
首页
C++原子变量数组能用memset置空吗?
C++原子变量数组能用memset置空吗? 第1页
1
haozhi-yang-41 网友的相关建议:
刚分配,保证还没有别的地方用的话,是可以的,也是安全的。
但是如果已经传递出去给外部使用了,那也可以——只是不保证安全。
C++原子变量数组能用memset置空吗? 的其他答案 点击这里
1
相关话题
C语言中,write(1,buf,N)与write(0,buf,N)在底层存在什么样的区别?
C++中函数返回的过程是什么样的?
大型项目中面向过程思想 vs 面向对象思想,哪种开发效率更高?
现在的编程语言越来越多,为什么 C 和 C++ 还没有被现在的时代淘汰呢?
各位都是怎么进行单元测试的?
C/C++中,设计的时候字符/字符串为什么要加引号?
c语言中,关于switch循环的这个疑问怎么解?
教授说没有写过一千行以上代码的程序就别想上大公司,这种说法对吗?
C和C++的适用场合?如何创建C++实现的动态库?动态库如何保证向后兼容,即二进制兼容性?
大型c++项目在linux下如何调试?
前一个讨论
如果广州遭遇像河南这样的特大暴雨,能顶得住吗?
下一个讨论
如何看待路虎堵宝马 160 天并在车里放价值 145 万花瓶一事,被警方证实为编造的不实信息?
相关的话题
c#中没有友元类那么这种设计是否不太合理,如何修改才能得到更好的方案?
c++ 11 , 17, 20 更新如此快 , 有没有背后不变的东西 ?
c++指针有啥优越性啊,什么情况下要用指针呐,大一初学有点不懂。?
如何滴水不漏的学完C语言?
怎能给孩子讲用c++解决鸡兔同笼问题,百钱买百鸡等问题,也就是c++的for循环嵌套枚举?
编译器是如何实现C/C++中的const的功能?
C++代码可以魔法到什么程度?
如何优雅地利用c++编程从1乘到20?
你用Visual Studio调试过什么牛逼的源码/程序?
c++中能否判断一个指针指向栈还是堆?
既然有指针了,为什么c++还搞个引用出来?
malloc申请的内存能是虚拟内存吗,也就是申请的一块新的空间,刚申请就缺页吗?
在 Windows 上不用 Win32 API 可以绘制出一个窗口么?
C语言中指针与数组都可以用a[3]表示,那它们是不是相同?
C++函数收到一个指针T* ptr,没有其他信息,如何判断应该用delete还是delete[]?
各位都是怎么进行单元测试的?
C/C++中,设计的时候字符/字符串为什么要加引号?
随着互联网的崛起,还有必要学习 C++ 吗?貌似 C++ 越来越难找工作了...
大型项目中面向过程思想 vs 面向对象思想,哪种开发效率更高?
C++ 几十年来为什么没给 break 语句加上参数?
C++ 中 new 和定位 new 的返回值都是 void*,却为什么可以被赋值给不同类型的指针?
C/C++中的数组为什么必须定义之后在一行内立刻赋值,而不能定义数组之后换一行再赋值?
C++ 中的基类为何在析构函数中添加 virtual?
如何评价网易校招C++的笔试题?
掌握很多门计算机语言的人不会记串吗?
什么时候用C而不用C++?
怎样解决Qt发布程序体积过大的问题?
vs2013 有必要 使用 visual assist或resharper吗?
C++对一个map不断insert delete元素(多任务中的一个任务),是否存在内存碎片问题?
如何评价"Null reference - my billion-dollar mistake"?
服务条款
联系我们
关于我们
隐私政策
© 2024-09-19 - tinynew.org. All Rights Reserved.
© 2024-09-19 - tinynew.org. 保留所有权利