#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>#include <stdlib.h> int main()//求阶乘的和{ int i, n; int sum = 0; int tmp = 1; printf("请输入数字:"); scanf("% ...
分类:
其他好文 时间:
2020-03-24 16:00:50
阅读次数:
81
#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>#include <stdlib.h>#include <time.h> void Game(){ int toGuess = rand() % 100 + 1; while (1){ printf(" ...
分类:
其他好文 时间:
2020-03-23 20:47:15
阅读次数:
79
cd "%~dp0" regasm k3comtest.dll PAUSE 反注册 cd "%~dp0" regasm /u k3comtest.dll PAUSE ...
分类:
Web程序 时间:
2020-03-23 15:30:32
阅读次数:
123
默认情况,Quartz的触发器,调度,任务等信息都是放在内存中的,叫做 RAMJobStore。 好处是快速,坏处是一旦系统重启,那么信息就丢失了,就得全部从头来过。所以Quartz还提供了另一个方式,可以把这些信息存放在数据库做,叫做 JobStoreTX。 好处是就算系统重启了,目前运行到第几次 ...
分类:
数据库 时间:
2020-03-19 22:00:20
阅读次数:
76
本题要求实现一种数字加密方法。首先固定一个加密用正整数 A,对任一正整数 B,将其每 1 位数字与 A 的对应位置上的数字进行以下运算:对奇数位,对应位的数字相加后对 13 取余——这里用 J 代表 10、Q 代表 11、K 代表 12;对偶数位,用 B 的数字减去 A 的数字,若结果为负数,则再加 ...
分类:
其他好文 时间:
2020-03-19 21:54:29
阅读次数:
56
docker-compose spring boot nginx redis mysql ...
分类:
数据库 时间:
2020-03-19 13:34:14
阅读次数:
66
基于0起步来创建一个服务,做到简单的记录时间日志功能,其具体招行方法可自行添加。 1.创建服务 2.删除默认服务文件 3.添加自己的服务文件 4.更改启动项目 5. 引用 using System.Timers;并添加FileClass类 FileClass类 按 Ctrl+C 复制代码 按 Ctr ...
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Document</title> 6 <style type="text/css"> 7 /* 定义动画 */ 8 @keyframes e ...
分类:
Web程序 时间:
2020-03-14 16:50:17
阅读次数:
80
#include<iostream> #include<string> using namespace std; class MyPrint { public: void operator()(string text) { cout << text << endl; } }; class MyAdd ...
分类:
编程语言 时间:
2020-03-13 21:01:22
阅读次数:
63
Android设备,比如车载系统实车路试过程中, 车上操作电脑比较麻烦,如果车载系统出现了Bug, 如何很方便地一次性导出相关的log来(logcat, dbus, 高德地图log,gps定位log等)来呢? 其实我们只需要一个python脚本就可以搞定! 准备阶段 1. adb pull 命令, ...
分类:
数据库 时间:
2020-03-11 12:27:00
阅读次数:
68