开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
dynamic-memory-allocation

dynamic-memory-allocation

go

关于动态内存分配的C编程面试问题

英文: C programming interview question about dynamic memory allocation 问题 如果要在堆中动态分配8个字节的内存,但这8个字节的内存不...
huangapple 2023年8月5日165评论c pointers
go

有没有一种方法来实现与使用 new 运算符调用默认构造函数相同的行为?

英文: Is there a way to implement the same behaviour of the new operator calling default constructors?...
huangapple 2023年7月31日170评论c++ windows
go

函数内部的重新分配不如预期般工作

英文: Realloc inside function doesn't work as expected 问题 我正在处理一个程序,成功地隔离了不工作的部分,但我无法弄清楚为什么它不起作用。 ...
huangapple 2023年6月22日161评论c malloc
go

代码的输出为8,5,5而不是8,8,5的原因是什么?

英文: Why is the output of the code 8,5,5 and not 8,8,5? 问题 你的代码有一些错误。让我帮你更正一下: #include <stdio.h&g...
huangapple 2023年6月15日141评论c pointers
go

可以使用Valgrind来分析我的程序中哪些函数使用了最多的内存吗?

英文: Can I use Valgrind to analyze which functions in my program are using the most memory? 问题 我已经获得了...
huangapple 2023年6月8日113评论function memory
go

关于 malloc 的询问(char*)

英文: Asking about malloc for (char*) 问题 我只想知道为什么这个部分不需要字符串的长度。 完整的代码(来自互联网的某个地方): #include <stdio....
huangapple 2023年6月5日122评论c dynamic-memory-allocation
go

使用放置new构造的数组元素的删除

英文: deleting array elements constructed with placement new 问题 I was looking into the case when we cr...
huangapple 2023年5月22日116评论c++ dynamic-memory-allocation
go

如何从方法返回转置矩阵给对象?

英文: How can I return the transposed matrix from the method to the object? 问题 以下是您提供的代码的翻译部分: #includ...
huangapple 2023年5月20日203评论c++ dynamic-memory-allocation
go

这是否是释放动态分配内存的良好实跃实践?

英文: Is this a good practice of freeing dynamically allocated memory or it's not? 问题 I wrote the ...
huangapple 2023年5月14日122评论c memory
go

ntdll!RtlIsZeroMemory 在 C 中释放链表内存 [警告:检测到关键错误 c0000374]

英文: ntdll!RtlIsZeroMemory releasing linked list memory in C [warning: Critical error detected c00003...
huangapple 2023年5月14日144评论c linked-list

文章导航

1 2 3
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17107620

热门标签

android html css json c# node.js r c++ java javascript go typescript sql pandas arrays flutter python spring spring-boot reactjs

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码