摘要: 1,BufferinputStream-字节 `public class helloWorldOutPut { public static void main(String[] args) { //1.首先创建字符缓冲输入流与字节缓冲输出流 try ( BufferedReader r1 = new 阅读全文
posted @ 2024-03-12 23:02 heshuiqingan 阅读(6) 评论(0) 推荐(0)
摘要: 使用CJK宏包 。 首先在文件的头部(\documentclass 之后)加上: \usepackage 然后在正文中(\begin 到 \end)需要使用中文的地方使用: \begin{CJK*} …… 中文或者英文 …… \end{CJK*} 这样中间的中文部分就会以宋体来排版。常用的其他字体还 阅读全文
posted @ 2021-04-08 15:48 heshuiqingan 阅读(1349) 评论(0) 推荐(0)
摘要: 代码: #include <stdio.h> #include <stdlib.h> int main() { long int i; int bouns1,bouns2,bouns4,bouns6,bouns10,bouns; printf("请输入当月利润:"); scanf("%ld",&i) 阅读全文
posted @ 2021-04-06 21:30 heshuiqingan 阅读(281) 评论(0) 推荐(0)
摘要: 单标志法 int turn=0;//turn表示当前允许进入临界区的进程号 p0进程 p1进程 while(turn!=0); while(turn!=1) <临界区> <临界区> turn=1; turn=0; <剩余区> <剩余区> int turn=0;//turn表示当前允许进入临界区的进程 阅读全文
posted @ 2021-04-05 17:53 heshuiqingan 阅读(75) 评论(0) 推荐(0)
摘要: 代码 #include <stdio.h> #include <stdlib.h> int main() { int x,y,z,sum; sum=0; printf("\n"); printf("这些数字分别是:\n"); for(x=1;x<5;++x){ for(y=1;y<5;++y){ f 阅读全文
posted @ 2021-04-05 17:40 heshuiqingan 阅读(340) 评论(0) 推荐(0)
摘要: 什么是生态: https://www.zhihu.com/question/28418134/answer/853180878 操作系统并不难,难的是生态环境 比方说你是一个游戏制作组开发游戏版本,你会选择开发windows版,ios版,Android版。 哪怕一个国产的操作系统做的再好,用的人少, 阅读全文
posted @ 2021-04-03 20:18 heshuiqingan 阅读(612) 评论(0) 推荐(0)
摘要: 什么是进程: https://zhuanlan.zhihu.com/p/106283969 操作系统的就基本特性之间的关系: (1)并发和共享是操作系统最基本的特征。 (2)并发和共享互为存在的条件。 (3)虚拟以并发和共享为前提条件。 (4)异步性是并发和共享的必然结果。 为什么会有异步性: 在多 阅读全文
posted @ 2021-04-03 19:16 heshuiqingan 阅读(174) 评论(0) 推荐(0)
摘要: 需要的装备: activiti-5.22.0; Activiti Class Library;(activiti的类包) Activiti配置文件; Apache Tomcat 9.0.16; Eclipse IDE for Enterprise Java Developers(2018.12)(A 阅读全文
posted @ 2021-03-16 17:09 heshuiqingan 阅读(121) 评论(0) 推荐(0)
摘要: package xcy; import java.io.IOException; import java.net.URLEncoder; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet 阅读全文
posted @ 2020-12-18 23:43 heshuiqingan 阅读(141) 评论(0) 推荐(0)
摘要: 图片 @keyframes zh{ 0%{transform: rotate(0deg);} 100%{transform: rotate(360deg);} } img{ border-radius:50%; animation: zh 3s linear infinite; } </style> 阅读全文
posted @ 2020-12-18 23:34 heshuiqingan 阅读(33) 评论(0) 推荐(0)