// 生成N个0~99之间的随机整数,并打印输出 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int x, n; srand(time(0)); // 以当前系统时间作为随机种子 ...
分类:
其他好文 时间:
2021-04-13 12:30:05
阅读次数:
0
我用c#编写了一款猜数字游戏,系统随机生成一个1到100之间的数字,玩家进行猜测,如果猜错,提示玩家数字过大或过小,如果猜对恭喜玩家胜利,并且推出游戏。 #include<iostream> using namespace std; int main() { int num = rand() % 1 ...
分类:
其他好文 时间:
2021-04-13 12:04:34
阅读次数:
0
行内元素: <span> <a> <i> <img> <button <input> <select> <strong> 粗体强调 <q> 段引用 <lable> 表格 块元素: <div> <h1>-6 <p> <form> <table> <ol> <ul> <li> <hr> 水平分割线 <c ...
分类:
其他好文 时间:
2021-04-13 11:54:01
阅读次数:
0
【管道】 https://www.cnblogs.com/sparkdev/p/10997135.html管道(pipe)是进程间通信的一种实现方式。在 Linux 系统中,管道本质上是一种特殊的文件,它的主要用途是实现进程间的通信。 管道的一个显著特点是:创建一个管道后,会获得两个文件描述符,分别 ...
分类:
系统相关 时间:
2021-04-13 11:51:05
阅读次数:
0
using System;using System.Collections.Generic;using System.Text;using System.Text.RegularExpressions; namespace ConsoleApplication1{ class Class1 { pr ...
分类:
其他好文 时间:
2021-04-13 11:44:10
阅读次数:
0
ReentrantLock是可重入锁,并且可以实现公平锁。Sychronized是可重入锁、非公平锁。 话不多说,上demo: 1 package com.example.demo.util; 2 3 import java.util.concurrent.locks.ReentrantLock; ...
分类:
其他好文 时间:
2021-04-12 12:54:59
阅读次数:
0
需求分析:从收费的起点到终点收费系统 时间:3minutes 设计文档:3个label 2个button 1个comboBox 时间:5minutes 设计复审:李娟娟复审 时间:20minutes 代码规范:使用驼峰式命名 时间:3minutes 具体设计: 输入两个数字得出正确的结果 时间 2m ...
分类:
其他好文 时间:
2021-04-12 12:46:33
阅读次数:
0
标题Ctrl+数字 正文Ctrl+数字0 加粗Ctrl+B 斜体Ctrl+I 下划线Ctrl+U 删除线Alt+Shift+5 插入表格Ctrl+T 插入连接Ctrl+K 插入代码Ctrl+Shift+`(Tab上的那个) 插入代码块Ctrl+Alt+C(或者Ctrl+Shift+K) 插入图片Ct ...
分类:
其他好文 时间:
2021-04-12 12:07:48
阅读次数:
0
)张晴的PSP数据比较 PSP阶段 预计时间 实际记录 计划 10 10 明确相关需求和其他因素 10 6 开发 85 81 需求分析 10 10 生成设计文档 8 7 设计审复(和同事审核设计文档) 7 8 代码规范(为目前开发指定合适的规范) 6 7 具体设计 15 17 具体编码 30 21 ...
分类:
其他好文 时间:
2021-04-12 11:55:29
阅读次数:
0
通过 lsof 命令,可以找到 Oracle 的 client 端 和 server 端的进程。 例如,我从远端连接到 oracle 数据库: -bash-4.1$ sqlplus sys/oracle@my19c as sysdba SQL*Plus: Release 12.2.0.1.0 Pro ...
分类:
数据库 时间:
2021-04-10 13:37:55
阅读次数:
0