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

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

bj
登录
  • 友情链接
站内
malloc

malloc

go

Malloc调用分配已在使用中的地址。

英文: Malloc calls allocate addresses already in use 问题 简介 我遇到了一个奇怪的问题,我正在编写以下代码,它要求用户输入一个矩阵,程序会要求输入大小...
huangapple 2023年4月1日140评论debugging pointers
go

如何在Cython中正确取消引用指针的所有地址?

英文: How to properly dereference all addresses of a pointer in Cython? 问题 c_arr3[:] = [1.0, 2.0] work...
huangapple 2023年3月12日119评论numpy pointers
go

数组声明表示法是C语言中malloc的简写吗?

英文: Is array declaration notation a shorthand for malloc in C? 问题 从这个教程网站中: 在C中声明数组,程序员通过以下方式指定数组的类型...
huangapple 2023年3月9日130评论arrays c
go

如何在运行时缩小一个结构矩阵(例如使用realloc())

英文: How to shrink at runtime a struct matrix (using realloc() for example) 问题 如何在运行时缩小结构体 matrix 的大小...
huangapple 2023年3月3日149评论arrays c
go

这是释放 C 语言内存的可接受方式吗?

英文: Is this an acceptable way to deallocate memory in c? 问题 下面是您提供的代码的翻译部分: // 我有一个函数,它读取一个文件并为文件内容分...
huangapple 2023年2月27日118评论c memory
go

如何在Rust中创建一个结构体,其中最后一个元素是可变长度的数组?

英文: How to create a struct in Rust where the last element is an array of variable length? 问题 我试图在Rus...
huangapple 2023年2月23日137评论arrays rust
go

如何使用valgrind修复C中的错误:大小为8的无效写入

英文: How can I fix this error in C using valgrind: invalid write of size 8 问题 After compiling my code...
huangapple 2023年2月8日113评论c memory
go

由于malloc的结果似乎不能保证对任何内容进行对齐,它是否可用?

英文: Since the result of malloc does not seem to be guaranteed to be aligned to anything, is it even ...
huangapple 2023年1月9日136评论c language-lawyer
go

Question about using malloc in 2d array with the the 1 dimension known in C

英文: Question about using malloc in 2d array with the the 1 dimension known in C 问题 我遇到了一个具有如下形式的二维数组...
huangapple 2023年1月8日123评论arrays c
go

如何在C中释放这个结构体?

英文: How do I free this structure in C? 问题 Here's the translated content you requested: 我在大学的项目中需要创建一...
huangapple 2020年1月3日147评论c memory-management
4

文章导航

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

热门标签

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

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

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

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

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

    本页二维码