输出向下的金字塔 1、for语句 #include <stdio.h> int main(void) { int i, j, layer; puts("please input the layer"); printf("layer = "); scanf("%d", &layer); for(i = ...
分类:
编程语言 时间:
2021-04-27 15:19:08
阅读次数:
0
c语言 4-20 为九九乘法表增加横纵标题。 1、for语句二层循环 #include <stdio.h> int main(void) { int i, j; printf(" |"); for (i = 1; i <= 9; i++) { printf("%3d", i); } putchar( ...
分类:
编程语言 时间:
2021-04-27 15:05:59
阅读次数:
0
系统:win10 今天在使用控制台打印内容时, 发现个人对制表符不是很清楚,在此记录,以便日后查阅. 分割线 函数: int printf(const char* _Format, ...) 注1:这货竟然有返回值, 返回输出的字符数量 注2:关于输出乱码的问题:printf打印,包括Qt控件上显示 ...
分类:
其他好文 时间:
2021-04-26 13:25:33
阅读次数:
0
质数的算法: 1,判断n是否能被2~n-1整除 输入的数n不能被2-(n-1)整除,说明是素数 输入的数n能被2-(n-1)整除,说明不是素数 #include<stdio.h> int main() { int i, n; bool i; printf("please input a number ...
分类:
其他好文 时间:
2021-04-26 13:14:06
阅读次数:
0
#新建url文件,以名filelist.txt为例 vim filelist.txt #把文件下载地址url填进去 #执行命令下载 wget -bc -i filelist.txt #选项说明 -b, --background 启动后转入后台。 -c, --continue 继续下载部分下载的文件。 ...
分类:
Web程序 时间:
2021-04-24 13:11:34
阅读次数:
0
今天决定把Debian 10.1自带的4.19内核升级到5.2.14。 需要的工具automake、make、g++(包含gcc)、bison、flex、libelf-dev、libssl-dev、bc。 懒人命令: sudo apt install -y automake make g++ bis ...
分类:
其他好文 时间:
2021-04-23 11:58:49
阅读次数:
0
官网快速开始-: https://mp.baomidou.com/guide/quick-start.html#%E5%BC%80%E5%A7%8B%E4%BD%BF%E7%94%A8 传统方式 pojo-dao(连接mybatis,配置mapper.xml文件)- service - contro ...
分类:
其他好文 时间:
2021-04-23 11:56:15
阅读次数:
0
https://blog.csdn.net/qq_29846663/article/details/73498853 查看email % cat ~/.gitconfig[user] email = a@bc.com[credential] helper = store[http] sslverif ...
分类:
其他好文 时间:
2021-04-22 15:36:18
阅读次数:
0
大侦探福尔摩斯接到一张奇怪的字条:我们约会吧! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hyscvnm。大侦探很快就明白了,字条上奇怪的乱码实际上就是约会的时间星期四 14:04,因为前面两字符串中第 1 对相同的大写英文字母(大小写有区分)是第 ...
分类:
编程语言 时间:
2021-04-21 12:30:28
阅读次数:
0
输出小于输入值的所有正偶数。 1、while语句 #include <stdio.h> int main(void) { int i = 2, j; puts("please input an integer."); printf("j = "); scanf("%d", &j); while ( ...
分类:
编程语言 时间:
2021-04-20 15:40:50
阅读次数:
0