09 2007 档案
[转] Some of the best Open Source Project's in VC++ & MFC
摘要:Introduction List of some of the best Open Source projects written in VC++/MFC. Background Codeproject has the best source code repository for VC++ developers. But another site Sourceforge.net also h... 阅读全文
posted @ 2007-09-20 10:21 高血压的熊 阅读(930) 评论(2) 推荐(0)
[转] C++解析XML
摘要:C++解析XML Homepage: http://www.grinninglizard.com/tinyxml/ download:http://sourceforge.net/projects/tinyxml 用mingw32-make前修改一下makefile文件,改为如下 # DEBUG can be set to YES to include debugging info, or ... 阅读全文
posted @ 2007-09-19 10:46 高血压的熊 阅读(1701) 评论(0) 推荐(1)
[转] VC用法汇总
摘要:VC用法汇总 (1)如何通过代码获得应用程序主窗口的指针? 主窗口的指针保存在CWinThread::m_pMainWnd中,调用AfxGetMainWnd实现。 AfxGetMainWnd() ->ShowWindow(SW_SHOWMAXMIZED) //使程序最大化. (2)确定应用程序的路径 Use GetModuleFileName 获得应用程序的路径,然后去掉可执行文件名。 E... 阅读全文
posted @ 2007-09-18 11:04 高血压的熊 阅读(3571) 评论(0) 推荐(0)
[原] 获取Linux网络流量脚本
摘要:获取Linux网络流量脚本 语法:[--help] [-i] [-d] #!/bin/bash VERSION="1.0.0.1" eth="" sec=0 help() { printf "Version: $VERSION \n\ Usage: $0 [-i interface] [-d time]\n\ \t-i|--interface : The needs of ... 阅读全文
posted @ 2007-09-06 11:00 高血压的熊 阅读(1146) 评论(0) 推荐(0)
[转] Linux下top命令参数解释
摘要:linux下top命令参数解释 top命令是Linux下常用的性能分析工具,能够实时显示系统中各个进程的资源占用状况,类似于Windows的任务管理器。下面详细介绍它的使用方法。 top - 01:06:48 up 1:22, 1 user, load average: 0.06, 0.60, 0.48 Ta... 阅读全文
posted @ 2007-09-06 10:32 高血压的熊 阅读(660) 评论(0) 推荐(0)