![](https://img-blog.csdnimg.cn/20190927151117521.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
C
C/C++
sinat_32602421
这个作者很懒,什么都没留下…
展开
-
(20200508)静态链接库(.lib)+动态链接库(.dll)
参考:【1】https://segmentfault.com/a/1190000008634703——————————————————20200508 静态链接库的创建(vs2013): 【1】文件->新建项目->常规->空项目 【2】在头文件中添加mylib.h文件:(函数声明) 说明: 1】mylib.h内容: 【3】在源文件中添加mylib.c文件:(函数实现)...原创 2020-05-08 17:36:16 · 183 阅读 · 0 评论 -
(20200501)【C/C++】txt文件数据读取之fgets和fscanf
参考:【1】https://blog.csdn.net/daiyutage/article/details/8540932?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1&depth_1-utm_source=distribute.pc_relevant.none-task-blog-Blo...原创 2020-05-01 18:01:44 · 644 阅读 · 0 评论 -
(20200411)C语言链表(增、删、改、查)
1】 2】 3】原创 2020-04-11 19:45:32 · 255 阅读 · 0 评论 -
(20200403)一维数组与指针+二维数组与指针+指针数组+数组指针+二级指针(C语言)
C语言指针与数组:1】一维数组与指针2】二维数组与指针3】指针数组4】数组指针5】二级指针 1】一维数组与指针: #include <stdio.h>#include <stdlib.h>#include <string.h>int main(void){ //一维数组与指针 int a[5] =...原创 2020-04-03 17:07:24 · 471 阅读 · 0 评论 -
(20200402)函数(C语言)——一维数组,二维数组,指针,作为函数参数
函数分四个类型:1)无参数,无返回值;2)无参数,有返回值;3)有参数,无返回值;4)有参数,有返回值; 1)无参数,无返回值; ...原创 2020-04-02 16:31:56 · 753 阅读 · 1 评论 -
(20200401)数组排序算法(C语言)——冒泡排序+选择排序+交换排序+插入排序
参考:【1】C语言从入门到精通,P175 选择排序法: #define _CRT_SECURE_NO_WARNINGS // scanf_s#include <stdio.h>#include <stdlib.h>#define N 5 //定义数组长度int main(void){ int inde...原创 2020-04-01 22:40:14 · 336 阅读 · 0 评论 -
(20200401)生成任意范围任意个数的随机数(C语言)
参考【1】Fortran版本:https://blog.csdn.net/sinat_32602421/article/details/83963763//生成任意范围+任意个数 随机数#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>#include <stdlib.h>#include <ti...原创 2020-04-01 19:58:44 · 463 阅读 · 0 评论 -
(20200331)C语言计算字符串长度(strlen函数和sizeof关键词)
参考:【1】https://blog.csdn.net/u012209626/article/details/47449885?utm_source=blogxgwz5+====================================================================一般会用strlen()函数或sizeof来获取一个字符串的长度(sizeof其实...原创 2020-03-31 23:32:07 · 947 阅读 · 0 评论 -
(20200331)双线性插值法(C语言)
参考:【1】https://blog.csdn.net/sinat_32602421/article/details/98940243//双线性插值//20200331#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>#include <stdlib.h>#include <math.h>d...原创 2020-03-31 17:24:07 · 3167 阅读 · 0 评论 -
(20200331)Jacobi迭代(C语言)
参考:【1】https://blog.csdn.net/sinat_32602421/article/details/83475549// jacobi.c ://雅克比迭代算法#define _CRT_SECURE_NO_WARNINGS#include<math.h>#include<stdio.h>#include<stdlib.h>...原创 2020-03-31 16:21:53 · 1834 阅读 · 0 评论 -
(20200330)C语言输入输出详解
20200330 参考: 【1】https://www.cnblogs.com/dingding3w/p/4597473.html 两个控制台格式化输入、 输出函数printf() 和scanf(),: ==>printf()函数用来向标准输出设备(屏幕)写数据; ==>scanf() 函数用来从标准输入设备(键盘)上...原创 2020-03-30 21:51:20 · 861 阅读 · 0 评论