上一页 1 ··· 5 6 7 8 9 10 下一页

2016年4月20日

Rar related CMD

摘要: recursively add folder Document to archive: (with all the files) recursively add folders to archive: (with all the files) add path etc to certain file 阅读全文

posted @ 2016-04-20 17:03 三叁 阅读(127) 评论(0) 推荐(0) 编辑

Qt 5.5 tr usage

摘要: in .cpp file, wherever you want, wrap QString with a tr("somesz") rendering it ready to be translated. in .pro file, specify the readable translation 阅读全文

posted @ 2016-04-20 16:24 三叁 阅读(210) 评论(0) 推荐(0) 编辑

2016年4月19日

Got Stucked in C++ Static Library Loading.. for some time

摘要: I used to load library using 1 single .dll file, so when I happen to do method calling between 2 projects in a solution, I got puzzled.. In the soluti 阅读全文

posted @ 2016-04-19 16:11 三叁 阅读(206) 评论(0) 推荐(0) 编辑

2016年4月18日

Java R&W Related

摘要: In Java, byte = 8 bit, char = 16 bit In C/C++, char = 8 bit There is difference because Java uses Unicode, however C uses ASCII as basic character col 阅读全文

posted @ 2016-04-18 12:31 三叁 阅读(176) 评论(0) 推荐(0) 编辑

2016年4月16日

Java Networking Related (Java Examples in a Nutshell 3rd Edition)

摘要: Examples to: Use URL class to parse URLs and download the network resources specified by a URL Use URLConnection class to gain more cntrl over the dow 阅读全文

posted @ 2016-04-16 09:39 三叁 阅读(193) 评论(0) 推荐(0) 编辑

2016年4月15日

Java Concurrent Topics

摘要: To prevent Memory Consistency Errors(MCEs), it is good practice to specify synchronized class specifier, and mark all the related methods as synchroni 阅读全文

posted @ 2016-04-15 15:23 三叁 阅读(158) 评论(0) 推荐(0) 编辑

Java Interrupt Related

摘要: In Java, the main process can have several threads at a time, but only a few of them can run concurrently, so it is needed to cancel some thread at ti 阅读全文

posted @ 2016-04-15 13:46 三叁 阅读(160) 评论(0) 推荐(0) 编辑

2016年4月14日

How to write a probeContentType() and Usage?

摘要: Files.probeContentType() is an instance of FileTypeDetector class's abstract method String FileTypeDetector.probeContentType(), it's an extension base 阅读全文

posted @ 2016-04-14 12:05 三叁 阅读(260) 评论(0) 推荐(0) 编辑

Java NIO Related

摘要: A file's status is 3-valued: So !Files.exists(path) != Files.notExists(path). If both exists and notExists return false, the existence of the file can 阅读全文

posted @ 2016-04-14 10:55 三叁 阅读(239) 评论(0) 推荐(0) 编辑

2016年4月12日

Java BigDecimal Class

摘要: Using BigDecimal to perform precise calculations with floats. BigDecimal is a class type. So declare/construct one BigDecimal is in the form like: Do 阅读全文

posted @ 2016-04-12 16:24 三叁 阅读(284) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 下一页

导航