- 博客(4)
- 收藏
- 关注
原创 计蒜客答案(持续更新)
多维数组与字符串——矩阵翻转输出#include <stdio.h>int main() { int matrix[100][100]; int m = 0; int n = 0; int a = 0; int i = 0; int j = 0; int temp = 0; scanf("%d %d", &m, &n); for (i = 0; i < m; i++) {
2020-10-12 11:28:03
4202
原创 每日一练:某年某月某天是这年的第几天
每日一练:某年某月某天是这年的第几天scanf("%d%c%d%c%d", , , , ,)里最后两个c和d之间少个%竟然没有报错而且也能部分输出正确答案,没有用报错不等于没有写代码上的低级失误。#include <stdio.h>#include <math.h>int main() { int year; int month; int day; char operator; scanf("%d%c%d%c%d", &y
2020-09-15 00:18:18
150
原创 小白学C笔记第一天
小白学C笔记第一天第一次写博客,也不知道这里的规矩,欢迎指正,侵删。变量:对一块内存进行标记的标识符1.英文+数字+下划线组成2.代码中的变量储存在bss\data\stack等哪个段?(特别感谢优快云 的WCCG)(https://blog.youkuaiyun.com/wcccg/article/details/72723754)++a++;//后置++,先进行数值运算,然后表达式返回的值为改变前的值;++a;//前置++,先进行数值运算,然后表达式返回的值为改变前的值;//例如,如果prin
2020-08-31 23:18:09
193
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人