- 博客(5)
- 收藏
- 关注
原创 C语言简单实现学生成绩排序(结构体,数组)
#include <stdio.h>#include <stdlib.h>int main(){ int N = 0; //创建结构体 printf("学生成绩排序\n"); struct student { char name[10]; int id; int score; int stuspace; }; struct student students[10]; struct student...
2021-12-12 21:59:39
7887
原创 C语言简单实现矩阵转置
#include <stdio.h>#include <stdlib.h>int main(){ printf("3*4矩阵转置\n"); int b[3][4]; int row, line; //输入 for (row = 0;row < 3;row++) { for (line = 0;line < 4;line++) scanf("%d", &b[row][line]); } //显示输入的矩阵 for (row = 0.
2021-12-12 21:45:35
4557
原创 c语言 vs2019中C2109解决办法
仅做记录和分享本人小白,望大佬提出更好的解决办法解决办法 定义int A1时将A1定义为指针int*A1。数组第一个数报错将d改为D这个估计是vs太严格,前后大小写要一致。
2021-11-25 22:48:14
1705
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人