码迷,mamicode.com
首页 >  
搜索关键字:direct path write temp    ( 55479个结果)
strcpy函数和string类的实现
1 strcpy函数实现 void* memcpy1(void *dst,const void *src,int count){ assert(dst != NULL && src!= NULL && count>=0); void *temp = dst; char *pdst = (char*)dst; char *psrc = (char*)src; if(pdst>=psrc...
分类:其他好文   时间:2014-09-18 09:48:43    阅读次数:188
linux下删除3分钟之前指定文件夹下的指定类型文件
#!/bin/shDELDIR="/root/crontab_test/test"#3 minute agoDELTIME="-mmin +3"#delete file typeFILETYPE1="'*.txt'"FILETYPE2="'*.log'"#write to tmp filerm cr...
分类:系统相关   时间:2014-09-18 09:38:33    阅读次数:210
【学习笔记】锋利的jQuery(一)选择器
一、要点阐述1,jQuery创建于2006年1月的一个开源项目,强调理念是“write less,do more”,压缩后大小30KB左右。、2,jQuery里的方法都被设计程自动操作对象集合,而非单独的对象。3,jq对象是jq对DOM对象进行包装后产生的对象,是一个类似数组的对象,可用[0]或ge...
分类:Web程序   时间:2014-09-18 02:00:23    阅读次数:232
boost::asio 之udp协议的使用
write by http://blog.csdn.net/bojie5744 bj_末雨 udp sender [cpp] view plaincopyprint? #include "stdafx.h"  #include   #include   using namespace std;  using namespace boost::asio;  ...
分类:其他好文   时间:2014-09-18 00:53:13    阅读次数:274
web.py简易示例
code.pyimport weburls = ( '/', 'index')class index: def GET(self): return "Hello, world,caixianfeng write for the first web.py!"if __name...
分类:Web程序   时间:2014-09-18 00:35:33    阅读次数:355
HDU 4565 So Easy! 矩阵快速幂 + 共轭数
题意:中文题 So Easy解题思路: 这题应该是 HDU 2256的原题 ,根据类似的结论可以推出中间矩阵ta 1tb ta原矩阵11解题代码: 1 // File Name: temp.cpp 2 // Author: darkdream 3 // Created Time: 2014年0...
分类:其他好文   时间:2014-09-17 23:05:22    阅读次数:174
冒泡排序算法
冒泡排序算法的时间复杂度是什么?时间复杂度是O(n^2)。 1 #include "stdafx.h" 2 #include 3 using namespace std; 4 void Swap(int &a, int &b) 5 { 6 int temp = a; 7 a = b...
分类:其他好文   时间:2014-09-17 23:05:02    阅读次数:184
path与classpath的区别
1.path的作用     path是系统用来指定可执行文件的完整路径,即使不在path中设置JDK的路径也可执行JAVA文件,但必须把完整的路径写出来,如C:\Program Files\Java\jdk1.6.0_10\bin\javac TheClass.java。path是用来搜索所执行的可执行文件路径的,如果执行的可执行文件不在当前目录下,那就会依次搜索path中设置的路径;而ja...
分类:其他好文   时间:2014-09-17 21:57:32    阅读次数:312
Leetcode_num2_Maximum Depth of Binary Tree
题目: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. AC率第二高的题啦,二项树的最长路径。初看此题...
分类:其他好文   时间:2014-09-17 20:26:52    阅读次数:162
怎样将 PHP 目录加入到 Windows 路径 PATH中去?
在 Windows NT,2000,XP 和 2003 下: 进入控制面板并打开“系统”图标(开始 -> 设置 -> 控制面板 -> 系统,Windows XP/2003 中是:开始 -> 控制面板 -> 系统) 选择“高级”标签页 点击“环境变量”按钮 在“系...
分类:Windows程序   时间:2014-09-17 19:00:32    阅读次数:367
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!