1、 #include <stdio.h> int main(void) { int i; do { puts("please input an integer."); printf("i = "); scanf("%d", &i); } while (i <= 0); while (i > 0) ...
分类:
编程语言 时间:
2021-01-08 10:28:25
阅读次数:
0
单目运算符,双目运算符 目代表操作数的个数,例如正负号为单目运算符,加减为双目运算符注意事项 1取余运算(%),左端必须为整数 2自增自减(++、--),i++与++i的区别在于前者先运行程序后做++运算,后者先做++运算再运行程序。 int a = 10,b=1; printf("%d\n", a ...
分类:
编程语言 时间:
2021-01-07 12:40:11
阅读次数:
0
1、 #include <stdio.h> int main(void) { int i; puts("please input an integer."); printf("i = "); scanf("%d", &i); while (i > 0) { putchar('*'); i = i - ...
分类:
编程语言 时间:
2021-01-07 12:38:31
阅读次数:
0
TetraMAX Overview TetraMax Flow TetraMax的启动 tmax [file] 如果要执行file直接跟file路径即可 tmax -notcl(基本不用) tmax -shell (不启动图形界面,一般用这个)(如果启动64位就加-64) 1.读入library与n ...
分类:
其他好文 时间:
2021-01-07 12:35:57
阅读次数:
0
安全性测试的测试点 1.跨网站脚本攻击 通过脚本语言的缺陷模拟合法用户,控制其账户,盗窃敏感数据 2.注入攻击 通过构造查询对数据库、LDAP和其他系统进行非法查询 3.恶意文件执行 在服务器上执行Shell 命令Execute,获取控制权 4.伪造跨站点请求 发起Blind 请求,模拟合法用户,要 ...
分类:
其他好文 时间:
2021-01-07 12:19:23
阅读次数:
0
sed命令 语法: sed [options] '{command}[flags]' [filename] {}是必须有,[]可选 options: -r 使用扩展的正则表达式 -n 只打印缓存中的内容,不打印文本内容 -e 执行多个命令 -f 执行文件中的命令 -i 修改原文件 -i.xxxx 修 ...
分类:
系统相关 时间:
2021-01-07 12:17:11
阅读次数:
0
void test() { Mat src = imread("D:/opencvsp/pic.png"); if (src.empty()) { printf("could not load image\n"); return -1; } namedWindow("test opencv setu ...
分类:
其他好文 时间:
2021-01-07 12:07:55
阅读次数:
0
手动配置右键打开terminal Win+R输入regedit进入注册表目录HKEY_CLASSES_ROOT\Directory\Background\shell 在这里新建一个项命名为WT并设置(默认)值为你想要的名称,比如Windows Terminal Here 再新建字符串值Icon即显示 ...
分类:
其他好文 时间:
2021-01-07 12:01:28
阅读次数:
0
1、 #include <stdio.h> int main(void) { int a,b; puts("please input two integers."); printf("a = "), scanf("%d", &a); printf("b = "), scanf("%d", &b); ...
分类:
编程语言 时间:
2021-01-07 11:48:01
阅读次数:
0
- name: 以轮询的方式等待服务同步完成 shell: "systemctl status etcd.service|grep Active" register: etcd_status until: '"running" in etcd_status.stdout' retries: 8 de ...
分类:
其他好文 时间:
2021-01-07 11:40:27
阅读次数:
0