随笔 - 56,  文章 - 11,  评论 - 0,  阅读 - 9947
10 2023 档案
java:String的getBytes()方法
摘要:1、String.getBytes方法:获取该编码格式的字符 在Java中,String的getBytes()方法是得到一个操作系统默认的编码格式的字节数组。这个表示在不同的OS下,返回的东西不一样。 String.getBytes(String decode)方法会根据指定的decode编码返回某 阅读全文
posted @ 2023-10-10 10:31 初晓臻 阅读(361) 评论(0) 推荐(0) 编辑
pom.xml/maven包
摘要:Junit :测试 <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> </dependency> </dependencies> 写在 阅读全文
posted @ 2023-10-09 22:10 初晓臻 阅读(7) 评论(0) 推荐(0) 编辑
求最大公约数的三种方法:
摘要:第三方库:在mvn中央仓库(mvnrepository.com)中搜索Commons MathMaven Repository: Search/Browse/Explore (mvnrepository.com)将Apache Commons Math 依赖文本加到项目pom.xml中Maven编译 阅读全文
posted @ 2023-10-06 12:49 初晓臻 阅读(98) 评论(0) 推荐(0) 编辑
C语言:‘for‘ loop initial declarations are only allowed in C99 mode
摘要:求最大公约数之 穷举法 mistake: because: 只允许在C99模式下使用‘for’循环初始化声明 solution:不在for()中初始化生命变量 阅读全文
posted @ 2023-10-06 11:00 初晓臻 阅读(317) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示