function UnicodeToChinese(inputstr: string): string; var i: Integer; index: Integer; temp, top, last: string; begin index := 1; while index >= 0 do be... ...
常用 General 基础编辑 Basic editing 导航 Navigation 搜索和替换 Search and replace 多光标和选择 Multi-cursor and selection 丰富的语言编辑 Rich languages editing 编辑器管理 Editor man ...
分类:
其他好文 时间:
2018-06-08 10:38:44
阅读次数:
169
//浏览器类型判定 function getOs(){ if(navigator.userAgent.indexOf("MSIE")>0) { return "IE"; //InternetExplor } else if(isFirefox=navigator.userAgent.indexOf(... ...
分类:
Web程序 时间:
2018-06-08 10:35:50
阅读次数:
178
我们学习宏定义的第一个概念是,宏定义作为替换作用。 例如: 宏定义是编译器在编译时,将程序中所有SIZE替换成32,我这里就不详细将宏定义的知识, 下面讲讲在项目中,看到空的宏定义是什么情况以及它作用和用法。 先看看项目中的代码, 如下: 这个宏定义什么都没有,作用是什么呢? 作用是标志 再看看上面 ...
分类:
其他好文 时间:
2018-06-08 00:53:10
阅读次数:
163
第一题 include using namespace std; class Base1{ //基类base1 加法运算 public: Base1(double a,double b):m(a),n(b){cout a b; cout using namespace std; class vehi ...
分类:
其他好文 时间:
2018-06-08 00:47:27
阅读次数:
157
题目:Power of Cryptography 解法:https://blog.csdn.net/code_pang/article/details/8263971 题目类型:分治(大概吧,也不是很确定) 知识点:pow()函数的底层运算机制(因为这道题居然居然可以用一个函数就AC掉!!??),数 ...
分类:
编程语言 时间:
2018-06-08 00:41:12
阅读次数:
282
#include #define ll long long using namespace std; pairmp[1000]; pairmpp[1000]; pairanp[1000]; map,int>flo; char a[1000],b[1000]; int main() { int i=0... ...
分类:
其他好文 时间:
2018-06-08 00:40:57
阅读次数:
485
链接mysql做了个小练习:爬取 http://wufazhuce.com 上的问题,描述和答案,存到本地的数据库里。 数据表结构: CREATE TABLE `questions` ( `title` varchar(2000) DEFAULT NULL, `description` varcha ...
分类:
数据库 时间:
2018-06-07 23:09:24
阅读次数:
331
参考资料:https://blog.csdn.net/cd_xuyue/article/details/52052893 1使用两个循环分别处理start和join函数.即可实现并发. 2 要保证锁对于多个子线程来说是共用的,即不要在Thread的子类内部创建锁. ...
分类:
编程语言 时间:
2018-06-07 23:06:59
阅读次数:
259