摘要: @Test void contextLoads02(){ Map<String, Object> hashMap = new HashMap<>(); hashMap.put("a","1"); hashMap.put("b",null); hashMap.put("c","3"); for(Map 阅读全文
posted @ 2022-11-01 23:44 涂山树下 阅读(140) 评论(0) 推荐(0)
摘要: File file = new File("test.xlsx"); File tempFile = new File("temp.xlsx"); Word word = new Word(); word.w="AAAkkk222"; ArrayList list = new ArrayList() 阅读全文
posted @ 2022-11-01 20:49 涂山树下 阅读(2472) 评论(2) 推荐(0)
摘要: File templateFile = new File(filePath, fileName); File destFile = new File(filePath, "test.xlsx"); try { if (templateFile.exists()) { //追加数据,目标文件与原始文件 阅读全文
posted @ 2022-10-31 23:08 涂山树下 阅读(355) 评论(0) 推荐(0)
摘要: 1. 下载libconfig https://hyperrealm.github.io/libconfig/ 2. linux下解压 tar -zvxf libconfig-1.7.3.tar.gz 3. linux下安装libconfig 1.进入libconfig-1.7.3文件夹 cd lib 阅读全文
posted @ 2022-07-25 21:09 涂山树下 阅读(564) 评论(0) 推荐(0)
摘要: Linux上,到pkg-config官网https://www.freedesktop.org/wiki/Software/pkg-config/,下载最新安装包目前,最新版是2017年3月20日发布的0.29.2,下载地址https://pkg-config.freedesktop.org/rel 阅读全文
posted @ 2022-07-25 17:45 涂山树下 阅读(2502) 评论(0) 推荐(0)
摘要: 阿里源 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-security main restric 阅读全文
posted @ 2022-06-20 21:59 涂山树下 阅读(1192) 评论(0) 推荐(0)
摘要: 1.引入头文件 #include <iomanip> 2.格式化输出: cout<<setiosflags(ios::fixed)<<setprecision(2); 例子: #include<iostream>#include <iomanip>using namespace std;int ma 阅读全文
posted @ 2020-05-09 17:54 涂山树下 阅读(3997) 评论(1) 推荐(0)