码迷,mamicode.com
首页 >  
搜索关键字:code    ( 108667个结果
Delphi中Unicode转中文
function UnicodeToChinese(inputstr: string): string; var i: Integer; index: Integer; temp, top, last: string; begin index := 1; while index >= 0 do be... ...
分类:Windows程序   时间:2018-06-08 10:39:33    阅读次数:225
VS Code快捷键
常用 General 基础编辑 Basic editing 导航 Navigation 搜索和替换 Search and replace 多光标和选择 Multi-cursor and selection 丰富的语言编辑 Rich languages editing 编辑器管理 Editor man ...
分类:其他好文   时间:2018-06-08 10:38:44    阅读次数:169
JS实现alert中显示换行的方法
//浏览器类型判定 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
实验6
第一题 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
最长公共子序列、最长公共子串
最长公共子序列: 最长公共子串 ...
分类:其他好文   时间:2018-06-08 00:45:41    阅读次数:122
数组乘法(大整数相乘)
题目: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
python使用mysql
链接mysql做了个小练习:爬取 http://wufazhuce.com 上的问题,描述和答案,存到本地的数据库里。 数据表结构: CREATE TABLE `questions` ( `title` varchar(2000) DEFAULT NULL, `description` varcha ...
分类:数据库   时间:2018-06-07 23:09:24    阅读次数:331
Python多线程中阻塞(join)与锁(Lock)的使用误区
参考资料:https://blog.csdn.net/cd_xuyue/article/details/52052893 1使用两个循环分别处理start和join函数.即可实现并发. 2 要保证锁对于多个子线程来说是共用的,即不要在Thread的子类内部创建锁. ...
分类:编程语言   时间:2018-06-07 23:06:59    阅读次数:259
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!