C语言开发
zzugsh
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C语言入门
总共37小时C语言课程特点:效率高可以直接访问物理内存可以直接写系统软件可以直接控制硬件由B语言发展而来具有封装性 多态性 继承性开发环境:Visual C++如何创建可以运行C程序:文件新建项目 新建一个程序项目C语言数据类型:基本类型:数值类型:整形:短整型 short整型:int长整型:long浮点型:单精度:float双精度:double字符类型:...原创 2019-06-13 09:49:39 · 192 阅读 · 0 评论 -
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 · 212 阅读 · 0 评论 -
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 · 368 阅读 · 0 评论 -
C语言第九章 指针开篇
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[]) { ...原创 2019-07-03 21:00:13 · 175 阅读 · 0 评论 -
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 · 1629 阅读 · 0 评论 -
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 · 449 阅读 · 0 评论 -
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 · 316 阅读 · 0 评论 -
C语言之跨文件使用函数和变量
跨文件使用函数和变量这是主函数的代码:#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */extern int g_a;//对外部全局变量作说...原创 2019-07-01 10:10:50 · 4536 阅读 · 0 评论 -
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[]) { // //回顾 ...翻译 2019-07-05 23:20:54 · 232 阅读 · 0 评论 -
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 swap(int *a,int *b){//2个指针作为形参 a->a b-&...原创 2019-07-06 11:11:31 · 987 阅读 · 0 评论 -
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[]) { //上次讲的指针变...原创 2019-07-06 15:48:10 · 187 阅读 · 0 评论 -
C语言指针之数组指针作为参数
#include <stdio.h>#include <stdlib.h>void changevalue(int ba[]){ ba[3] = 27; //这是把内存赋值 所以这个值会被带回到调用者 ba[4] = 45; return; }void changevalue2(int *p){ //一定得知道a的范围是a[0]-a[...原创 2019-07-06 16:52:35 · 5853 阅读 · 0 评论 -
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 · 194 阅读 · 0 评论 -
C语言第八章编译预处理
编译预处理-条件编译//#include命令:预编译命令,作用就是将某些文件包含到用户的源文件中来,也就相当于把某个文件中的内容原封不动的贴到#include这个位置//标准的I/O库:stdio.h叫头文件 #include <stdio.h>//<>就是去系统目录中找头文件 所以像标准的收stdio.h头文件就用<> #include <std...翻译 2019-07-02 22:31:52 · 238 阅读 · 0 评论 -
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 · 175 阅读 · 0 评论 -
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 · 161 阅读 · 0 评论 -
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 · 166 阅读 · 0 评论 -
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 · 139 阅读 · 0 评论 -
C语言第二章总结
第二章2.2数据类型 运算符 表达式的介绍VC的使用方法运算符 sizeof()也是个运算符本节:实型数据字符型数据字符串数据变量赋值数据型数据之间混合运算实型数据简单来说是浮点型数据0.123.1415926数据值之间的混合运算:低精度 -----> 高精度char,short - >int ->unsigned ->long ->...原创 2019-06-18 07:35:44 · 329 阅读 · 0 评论 -
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 · 281 阅读 · 0 评论 -
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 · 202 阅读 · 0 评论 -
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 · 306 阅读 · 0 评论 -
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 · 322 阅读 · 0 评论 -
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 · 548 阅读 · 0 评论 -
C语言第八章之宏定义
宏定义基础#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop *///不带参的宏定义 //#define 标识符/宏名 字符串 //这个意思...原创 2019-07-02 09:05:45 · 553 阅读 · 0 评论 -
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[]) { //一.回顾二维数...原创 2019-07-06 22:49:49 · 331 阅读 · 0 评论
分享