2019年6月7日

c语言创建单链表

摘要: //创建单链表 #include <stdio.h>#include <string.h>#include <stdlib.h>typedef struct Student STU; //用typedef 新定义结构体名字为 STU;struct Student //定义时不能直接用STU{ cha 阅读全文

posted @ 2019-06-07 20:20 滴水石川的小白 阅读(3738) 评论(0) 推荐(0)

错误: error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. 的处理方法

摘要: 错误: error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. 的处理方法 为什么会报这个错?因为strcpy这个函数不安全,即会造成栈溢出。 在VS2013下如 阅读全文

posted @ 2019-06-07 19:46 滴水石川的小白 阅读(3480) 评论(0) 推荐(0)

2019年6月2日

c语言起泡法

摘要: 阅读全文

posted @ 2019-06-02 12:30 滴水石川的小白 阅读(488) 评论(0) 推荐(0)

2019年6月1日

C语言习题

摘要: 求4个数的最大数,用函数嵌套实现。 阅读全文

posted @ 2019-06-01 10:16 滴水石川的小白 阅读(199) 评论(0) 推荐(0)

2019年5月21日

嵌入式芯片STM32F407

摘要: 1内核,32位,168M FPU(浮点数处理单元)一般会选用DSP 做浮点数处理。 2.IO口,输入输出端口。144个IO引脚(大部分5V) 3.内存。 1024K flash, 192k SRAM. SRAM 易丢,用作临时性的存储,FLASH 是永久性。 4 时钟复位以及电源管理。总范围为1.8 阅读全文

posted @ 2019-05-21 06:38 滴水石川的小白 阅读(1879) 评论(0) 推荐(0)

2019年5月19日

c语言课后习题

摘要: // 20190519.cpp : Defines the entry point for the console application.////转置3*3 数组行列#include "stdafx.h"#include <stdio.h>int i,j;int main(){ int array 阅读全文

posted @ 2019-05-19 10:49 滴水石川的小白 阅读(195) 评论(0) 推荐(0)

2019年5月17日

求方程式的根

摘要: #include "stdafx.h"#include <stdio.h>#include <math.h>float x1,x2,disc,p,q; int main(){ void bigger(float,float); void equal(float, float); void small 阅读全文

posted @ 2019-05-17 23:54 滴水石川的小白 阅读(299) 评论(0) 推荐(0)

C语言课后习题

摘要: /*最大公约数求解*/#include "stdafx.h"#include <stdio.h>int main(){ int max(int,int); int a,b; printf("Please input your numbers\n"); scanf("%d,%d\n",&a,&b);  阅读全文

posted @ 2019-05-17 23:09 滴水石川的小白 阅读(185) 评论(0) 推荐(0)

LINUX常用指令

摘要: 1、ls命令 就是list的缩写,通过ls 命令不仅可以查看linux文件夹包含的文件,而且可以查看文件权限(包括目录、文件夹、文件权限)查看目录信息等等 常用参数搭配: ls -a 列出目录所有文件,包含以.开始的隐藏文件 ls -A 列出除.及..的其它文件 ls -r 反序排列 ls -t 阅读全文

posted @ 2019-05-17 23:03 滴水石川的小白 阅读(184) 评论(0) 推荐(0)

导航