
笔记
茶屋Teahouse
一条正在成长的小咸鱼,请多指教
展开
-
详解结构体
原文地址: https://myjinji.top/articles/2020/11/15/1605404898205.html原创 2020-11-17 16:51:27 · 130 阅读 · 0 评论 -
c语言的动态内存
前言 在C语言中,除了获取变量的指针这种规矩的内存空间,我们还可以通过函数去申请指定大小的内存空间 动态 malloc malloc可以申请一块任意尺寸的空间,因为经常一段空间是连续的 #include <stdio.h> #include <stdlib.h> int main(void) { int *ptr = NULL; ptr = (int *) malloc(sizeof(int)); // malloc() 返回一个void *类型指针 if (原创 2020-09-23 15:56:54 · 129 阅读 · 0 评论 -
docker入门(一)从开机到关机
https://myjinji.top/articles/2020/06/03/1591175092115.html原创 2020-06-07 04:34:12 · 710 阅读 · 0 评论