1、主体代码 #region [ 启动记事本 ] System.Diagnostics.Process Proc; try { // 启动记事本 Proc = new System.Diagnostics.Process(); Proc.StartInfo.FileName = "notepad.e ...
分类:
其他好文 时间:
2021-06-02 20:53:03
阅读次数:
0
新建一个java文件 文件后缀为.java Hello.java 编写代码 public class Hello{ public static void main(String[] args){ System.out.print("Hello,world"); } } 编译javac java文件( ...
分类:
其他好文 时间:
2021-06-02 20:48:48
阅读次数:
0
IR: define i32 @add1(i32 %p1) { entry: %retVal = add i32 1, %p1 ret i32 %retVal } #include "llvm/ExecutionEngine/Orc/LLJIT.h" #include "llvm/IR/Functi ...
分类:
其他好文 时间:
2021-06-02 20:31:32
阅读次数:
0
package kuangs.lesson02;import java.io.*;import java.net.ServerSocket;import java.net.Socket;//服务器端public class TcpServerDemo02 { public static void m ...
分类:
Web程序 时间:
2021-06-02 20:24:31
阅读次数:
0
在c++新标准之前通常使用c的函数rand来生成随机数。 现在可以使用下面这种方式: #include <random> #include <ctime> //生成0到9之前的随机整数 static std::default_random_engine e(time(0));//time(0)返回特 ...
分类:
编程语言 时间:
2021-06-02 20:13:41
阅读次数:
0
阿拉伯数字转汉字数字 public static String int2chineseNum(int src) { final String num[] = {"零", "一", "二", "三", "四", "五", "六", "七", "八", "九"}; final String unit[] ...
分类:
其他好文 时间:
2021-06-02 19:53:42
阅读次数:
0
spring: #thymeleaf thymeleaf: cache: false prefix: classpath:/templates/ check-template-location: true suffix: .html encoding: utf-8 mode: HTML #这个是关键 ...
分类:
编程语言 时间:
2021-06-02 19:47:35
阅读次数:
0
public static SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd");public static SimpleDateFormat format1 = new SimpleDateFormat( "yyyyMMdd HH:m ...
分类:
编程语言 时间:
2021-06-02 19:42:04
阅读次数:
0
package whale.leetcode.simple; /** * @Author: WhaleFall541 * @Date: 2021/5/31 23:22 */ public class PowerOfFour { public static void main(String[] arg ...
分类:
编程语言 时间:
2021-06-02 19:35:24
阅读次数:
0
Initialization order The order of member initializers in the list is irrelevant: the actual order of initialization is as follows: 1) If the construct ...
分类:
其他好文 时间:
2021-06-02 19:16:37
阅读次数:
0