- 博客(21)
- 收藏
- 关注
原创 C语言第七章 静态和动态储存
#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop *///void funcTest(){// static int c = 4; //将C的值保...
2019-06-30 22:41:22 268
原创 C语言第七章局部变量和全局变量
局部变量和全局变量#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */void func1(int temp); int p = 1,q ...
2019-06-30 19:15:42 228
原创 C语言第七章 函数
数组作为函数参数#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop *///int whitchmax(int a,int b);//形参的数组大...
2019-06-29 21:47:30 358
原创 C语言第七章函数递归
函数递归#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop *///函数声明 void diguifunc();void qtfunc1();...
2019-06-29 15:18:13 403
原创 C语言第七章函数声明
函数声明#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop *///函数声明代码放在最前面,这样保证所有函数可以顺利调用其他函数//函数只要被声明...
2019-06-28 20:40:27 1555
原创 C语言第七章函数的定义
第七章函数的定义#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */ //函数的基本概念 //函数的定义和函数返回值 //函数的定义 也相当...
2019-06-27 22:17:16 312
原创 C语言第六章-字符数组2
字符数组#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]) { //C...
2019-06-25 19:52:22 222
原创 C语言之字符数组
字符数组#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]) { //C...
2019-06-24 23:27:03 176
原创 C语言第六章
二维数组#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]) { //C语言...
2019-06-24 20:35:04 151
原创 C语言第六章一维数组
一维数组//// main.c// project1//// Created by sihan guo on 2019/06/13.// Copyright © 2019 sihan guo. All rights reserved.//#include <stdio.h>#include <stdbool.h>int main(int ar...
2019-06-23 09:32:41 480
原创 C语言第五章 循环控制 break and continue
第五章循环嵌套//// main.c// project1//// Created by sihan guo on 2019/06/13.// Copyright © 2019 sihan guo. All rights reserved.//#include <stdio.h>#include <stdbool.h>int main(in...
2019-06-22 17:21:27 169
原创 C语言第五章-循环题学习
C语言第五章除了for以外的循环//// main.c// project1//// Created by sihan guo on 2019/06/13.// Copyright © 2019 sihan guo. All rights reserved.//#include <stdio.h>#include <stdbool.h>in...
2019-06-22 15:13:15 272
原创 C语言第四章结束
第四章条件运算符//// main.c// project1//// Created by sihan guo on 2019/06/13.// Copyright © 2019 sihan guo. All rights reserved.//#include <stdio.h>#include <stdbool.h>int main(i...
2019-06-20 16:37:06 99
原创 C语言第四章
逻辑运算和判断选择if语句的学习//// main.c// project1//// Created by sihan guo on 2019/06/13.// Copyright © 2019 sihan guo. All rights reserved.//#include <stdio.h>#include <stdbool.h>in...
2019-06-19 20:00:42 123
原创 C语言第四章
关系运算符逻辑运算符关系表达式逻辑表达式//// main.c// project1//// Created by sihan guo on 2019/06/13.// Copyright © 2019 sihan guo. All rights reserved.//#include <stdio.h>#include <stdbool.h&g...
2019-06-19 18:08:53 107
原创 C语言第三章
各种例子//// main.c// project1//// Created by sihan guo on 2019/06/13.// Copyright © 2019 sihan guo. All rights reserved.//#include <stdio.h>int main(int argc, const char * argv[]) {...
2019-06-19 12:04:30 120
原创 C语言第三章
第三章语句的分类程序的三种基本结构赋值语句的分类//// main.c// project1//// Created by sihan guo on 2019/06/13.// Copyright © 2019 sihan guo. All rights reserved.//#include <stdio.h>int main(int argc, ...
2019-06-18 15:55:21 251
原创 C语言第二章
赋值运算符的表达式复合的赋值运算符= 加上其他运算符,构成了复合的赋值运算符逗号运算符和逗号表达式//// main.c// project1//// Created by sihan guo on 2019/06/13.// Copyright © 2019 sihan guo. All rights reserved.//#include <stdio.h...
2019-06-18 10:19:35 159
原创 C语言第二章总结
第二章2.2数据类型 运算符 表达式的介绍VC的使用方法运算符 sizeof()也是个运算符本节:实型数据字符型数据字符串数据变量赋值数据型数据之间混合运算实型数据简单来说是浮点型数据0.123.1415926数据值之间的混合运算:低精度 -----> 高精度char,short - >int ->unsigned ->long ->...
2019-06-18 07:35:44 264
原创 网络设计
P3 机能阶层化和数据/阶层的分割送 ----------NW----------受阶层:nn…1对应mm-1…11 服务层 n-1层的机能-2 interface n-1层间的参数/やりとり3 对等通信 同一层间的做法ーーープロトコル...
2019-06-13 12:01:39 76
原创 C语言入门
总共37小时C语言课程特点:效率高可以直接访问物理内存可以直接写系统软件可以直接控制硬件由B语言发展而来具有封装性 多态性 继承性开发环境:Visual C++如何创建可以运行C程序:文件新建项目 新建一个程序项目C语言数据类型:基本类型:数值类型:整形:短整型 short整型:int长整型:long浮点型:单精度:float双精度:double字符类型:...
2019-06-13 09:49:39 153
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人