![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习记录
SaltyKid
这个作者很懒,什么都没留下…
展开
-
Makefile简单记记
Makefile语法 Makefile基本结构 Makefile格式 target : dependency_files 目标:依赖文件 < TAB > command TAB+命令 例: hello.o : hello.c hello.h gcc -c hello.c -o hello.o 较复杂的例子 sunq:kang.o yul.o gcc kang.o yul.o -o sunq kang.o:kang.c kang.h gcc -Wall -O -g -c原创 2020-07-16 11:07:49 · 104 阅读 · 0 评论 -
记录2:c语言函数的使用
c语言函数的使用 函数的概述 一堆代码的集合,用一个标签描述它;标签 -> 函数名 函数具备3要素,在定义函数时,必须将3要素告知编译器 函数名 输入参数 返回值 如何用指针保存函数 int fun(int , int , char ) int (*p)(int , int ,char ) 例如: #include <stdio.h> int main(void) { int (*p)(const char * ,…); printf("Hell原创 2020-07-11 13:39:14 · 119 阅读 · 0 评论