- 博客(7)
- 收藏
- 关注
原创 贵州专升本个人体会
很多人都听说最后一个月或者最后一个学期再去逆序,我只能说那些只有天赋(底子)的人才能做得到,搞不好都会翻车的。所有笨鸟先飞吧,现在就开始卷起来,我只相信“笨鸟先飞”,“勤能补拙”。祝各位考生考试喜欢的大学。
2023-06-15 17:01:55
276
3
原创 运算符“&”,“|”,“~”,“^”,“<<”,“>>”
位运算与:&0&0 = 00&1 = 01&0 = 01&1 = 1代码演示:#include<iostream>using namespace std;int main(){ unsigned char ch1 = 61; // 0011 1101 unsigned char ch2 = 92; // 0101 1100 // 位运算与:& cout << "位运算且:" << (ch.
2022-05-14 22:38:09
177
原创 二叉树的遍历与创建(递归创建)
#include <stdio.h>#include <stdlib.h>typedef struct tree { char date; struct tree* left, * right;}tree;void makeTreeNote(tree** p, char ch);void directMakeTree(tree** p);void showTree1(tree* p);void showTree2(tree* p);void s...
2021-11-21 18:11:30
1076
2
原创 头歌某题目
题目:编写函数,对于任意输入的一个整数,转换为千分位分隔的字符形式,在主函数中调用并输出。C语言#include<stdio.h>char arr[32];//全局字符串——长度根据数位的长度来写;(这里暂时为32位)int i = 0;//计数器(下角标)void zhuan(int x){ while (x != 0) { arr[i] = x % 10 + '0';//0~9的ASCII码为48~57; i++, x /= 10; //计数器进行自增,x.
2021-05-07 21:15:59
649
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人