会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
九分湖水
博客园
首页
新随笔
联系
订阅
管理
2019年12月25日
实验7
摘要: PART1 1. // 将file1.txt中小写字母转换成大写后,另存为file2.txt #include <stdio.h> #include <stdlib.h> int main() { FILE *fin, *fout; // 定义文件类型指针 int ch; fin = fopen("
阅读全文
posted @ 2019-12-25 17:42 九分湖水
阅读(87)
评论(2)
推荐(0)
2019年12月18日
实验6
摘要: // P280例8.15 // 对教材上的程序作了微调整,把输出学生信息单独编写成一个函数模块 // 打印不及格学生信息和所有学生信息程分别调用 #include<stdio.h> #include<stdlib.h>> #include<string.h> #define N 30 // 运行程序
阅读全文
posted @ 2019-12-18 15:42 九分湖水
阅读(109)
评论(3)
推荐(0)
2019年12月12日
实验5
摘要: #include <stdio.h> #include <stdlib.h> const int N=5; int binarySearch(int x[], int n, int item); int main() { int a[N]={2,7,19,45,66}; int i,index, k
阅读全文
posted @ 2019-12-12 14:48 九分湖水
阅读(92)
评论(3)
推荐(0)
2019年11月27日
实验4
摘要: PART 1 #include <stdio.h> #include <stdlib.h> #include <windows.h> void printCircle(int x, int y); int main() { system("color 02"); printCircle(5, 10)
阅读全文
posted @ 2019-11-27 14:43 九分湖水
阅读(94)
评论(3)
推荐(0)
2019年11月18日
实验3
摘要: #include <stdio.h> #include <stdlib.h> int main() { int number, max, min, n; n=1; printf("输入第%d个数: ", n); scanf("%d", &number); max = number; min = nu
阅读全文
posted @ 2019-11-18 11:14 九分湖水
阅读(101)
评论(3)
推荐(0)
2019年10月31日
实验2
摘要: 二、实验结论 1、“;”号容易多加或者漏掉; 2、else if和if的配对问题; 3、花括号问题,容易多一个少一个。
阅读全文
posted @ 2019-10-31 16:20 九分湖水
阅读(144)
评论(3)
推荐(0)
公告