03 2018 档案
摘要:#include #include #include #include #include #include using namespace std; int main() { time_t now = time(0); cout tm_year, 1 + p->tm_mon, p->tm_mday); //int 转为 string ...
阅读全文
摘要:原文:How The Kernel Manages Your Memory Feb 4th, 2009 After examining the virtual address layout of a process, we turn to the kernel and its mechanisms
阅读全文
摘要:原文:Anatomy of a Program in Memory Jan 27th, 2009 Memory management is the heart of operating systems; it is crucial for both programming and system ad
阅读全文
摘要:dir 查看内容 md 新建目录 copy 复制 del 删文件 cls 清屏 tasklist 查看运行进程 taskkill /pid xxx 杀死进程xxx taskmgr 打开任务管理器 msconfig 打开系统配置 control 打开控制面板 explorer 打开资源管理器 devmgmt.msc 打开设备管理器
阅读全文
摘要:$0 当前脚本名$# 传递给脚本的参数个数$1 第一个参数,依次类推$*,$@ 所有参数 $? 上一条命令的执行返回结果$$ 当前shell进程ID $PPID 父进程ID 下面的shell输出shell名称,pid,参数个数 依次列出参数 下面shell 杀死作为参数的进程,无参数则退出 shel
阅读全文
摘要:1. 使用TortoiseSVN创建版本库 在SVN中,为了便于创建分支和标签,我们习惯于将Repository版本库的结构布置为:/branches,/tags,/trunk。分别代表分支,标签以及主干。还有一点值得注意的是,SVN不推荐在创建的Tag基础上Revision,这种情况应用Branc
阅读全文
摘要:SendHttpPost(string& strUrl, string& strPost, string& strResponse, int nTimeOut) { CURLcode res; CURL* curl = curl_easy_init(); if(NULL == curl) { return CURLE_FAILED_INIT; } if (nTimeOut < ...
阅读全文