会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wyf827
博客园
首页
新随笔
联系
订阅
管理
2025年10月18日
实验一
摘要: task1 task2 task3 task4 #include<iostream> #include<string> #include<algorithm> bool is_palindrome(const std::string& s); bool is_palindrome_ignore_ca
阅读全文
posted @ 2025-10-18 01:25 wifi战斗机
阅读(8)
评论(1)
推荐(0)
2023年12月21日
实验7
摘要: 实验4源代码 #include<stdio.h> int main() { FILE* fp; fp = fopen("d:\\data4.txt", "r"); if (fp == NULL) { printf("fail to open file.\n"); return 1; } char c
阅读全文
posted @ 2023-12-21 14:46 wifi战斗机
阅读(2)
评论(0)
推荐(0)
2023年12月17日
实验六
摘要: 实验一源代码 #include <stdio.h> #include <string.h> #define N 3 // 运行程序输入测试时,可以把这个数组改小一些输入测试 typedef struct student { int id; // 学号 char name[20]; // 姓名 cha
阅读全文
posted @ 2023-12-17 23:13 wifi战斗机
阅读(10)
评论(0)
推荐(0)
2023年12月3日
实验五
摘要: 实验一源代码 #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int* pmin, int* pmax)
阅读全文
posted @ 2023-12-03 19:31 wifi战斗机
阅读(10)
评论(0)
推荐(0)
2023年11月19日
实验四
摘要: 实验一源代码 #include <stdio.h> #define N 4 void test1() { int a[N] = { 1, 9, 8, 4 }; int i; // 输出数组a占用的内存字节数 printf("sizeof(a) = %d\n", sizeof(a)); // 输出in
阅读全文
posted @ 2023-11-19 23:23 wifi战斗机
阅读(13)
评论(0)
推荐(0)
2023年11月5日
实验三
摘要: 实验一源代码 #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); voi
阅读全文
posted @ 2023-11-05 22:28 wifi战斗机
阅读(9)
评论(0)
推荐(0)
2023年10月22日
实验2
摘要: 实验1源代码 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 374 #define N2 465 int main() { int number; int i; srand(time(0
阅读全文
posted @ 2023-10-22 23:36 wifi战斗机
阅读(11)
评论(0)
推荐(0)
2023年10月9日
实验1
摘要: //1.1 打印一个字符小人 #include <stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I"); return 0; } 实验1.2 //1.1 打印一个字符小人 #include <stdio.h> in
阅读全文
posted @ 2023-10-09 00:26 wifi战斗机
阅读(27)
评论(0)
推荐(0)
公告