
朱有鹏C高级专题
asty008
喜欢编程,网络和硬件
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
编译和链接
#include #include int main(void) { double a = 16.0; double b = sqrt(a); printf("%lf\n",b ); return 0; }原创 2018-01-29 22:41:22 · 159 阅读 · 0 评论 -
朱有鹏单链表实现
链表需要增删改查等功能,因为栈只能先进先出,不能从中间删除,所以链表不能放在栈中. 也不能放在data数据段中,因为数据段中的数据是程序加载时已经确定好了的.程序没结束时不能释放. 所以链表只能放在堆内存中.....翻译 2018-02-22 14:54:24 · 364 阅读 · 0 评论 -
动态链接库的创建和使用
原材料:test_dynamic.c#include <stdio.h> void func1(void) { printf("func1 in test.dynamic\n"); } int func2(int a, int b) { printf("func2 in test.dynamic\n"); return a + b; }test_dynami...翻译 2018-02-11 21:29:43 · 193 阅读 · 0 评论 -
静态链接库的创建和使用
原材料:test_static.c#include <stdio.h> void func1(void) { printf("func1 in test_static.c\n"); } int func2(int a, int b) { printf("func2 in test_static.c\n"); return a + b; }test_stat...翻译 2018-02-10 12:35:20 · 235 阅读 · 0 评论