12 2020 档案

摘要:实验七——实验终章 本次实验是用室友的电脑打的,第一次尝试使用一个新的编译器进行实验,刚开始很不适应但是一点点摸索下最后还是找到了使用技巧。(我没太弄明白为什么这个编译器在输出结果的时候会出现乱码的状况,不过在输出到记事本文件中的答案是正确的) ps:为什么要用舍友电脑打?因为偷懒.....觉得Ma 阅读全文
posted @ 2020-12-30 18:40 WesleyMoob& 阅读(128) 评论(0) 推荐(0)
摘要:实验六 实验任务一 #include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 // ‘À––≥Öڠ‰»Î≤‚ ‘ ±£¨ø…“‘∞—N∏ƒ–°“ª–© ‰»Î≤‚ ‘ typedef struct student { 阅读全文
posted @ 2020-12-22 16:20 WesleyMoob& 阅读(49) 评论(0) 推荐(0)
摘要:实验五——数组与指针 实验任务一 #include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名及下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf( 阅读全文
posted @ 2020-12-17 20:53 WesleyMoob& 阅读(124) 评论(0) 推荐(0)