原创 以前總結的關於MFC的一些知識
1. IP 控件的使用 // 將 CString 型 IP 地址在 IPAddressCtrl 中顯示 CString strIP="192.168.0.10"; DWORD dwI
原创 Lazy Data Types in C++ Template Metaprograms by Adam Sipos, Norbert Pataki, and Zoltan Porkolab
C++ supports among others the generative paradigm by enabling the creation of programs executed in compile-time.This is
原创 PE文件導入表
在上一篇文章裏,我使用一個 TreeList 控件,展示了 PE 文件的內容。在那裏可充分了解PE的文件頭的信息,但是對 section(備註:常見譯文爲節,段,塊)的一些信息我們還沒有涉及。比如全局變量等數據,代碼,資源,導入表
原创 ubuntu屏幕截圖工具:scrot,可截鼠標拖曳的矩形區域圖形
無論是撰寫技術教程,還是展示桌面或應用,恐怕 scrot(0.8) 都是必不可少的ubuntu屏幕截圖工具 。scrot 是liunx屏幕抓圖工具中的皎皎佼佼者,它小巧而不失爲強大,精練而不缺少靈活。(我是從硬盤安裝Ubuntu 8.0
原创 ubuntu 快捷鍵
一個系統用久了,總會用到許多快捷鍵,可能大家對win下的快捷鍵比對linux下的要熟悉一些,所以,我打算整理一些快捷鍵的說明。 1.關於終端的快捷鍵: Tab:tab鍵是比較常用的一個快捷鍵,它的作用是補全文件名或者路徑。舉例來說,輸入”
原创 VC常見錯誤
1、fatal error C1010: unexpected end of file while looking for precompiled header directive。 尋找預編譯頭文件路徑時遇到了不該遇到的文件尾。(一般是
原创 Sina App Engine
用新浪的SAE做了一個簡單的網頁,還是蠻高興的。 只是只有他支持PHP, 微軟的要收費 。。。。。。。。
原创 C++ Programming Styles and Libraries by Bjarne Stroustrup
<!-- /* Font Definitions */ @font-face {font-family:宋體; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-f
原创 linux 下 shell 學習摘要(一)
1.命令代換:`或 $() 由反引號括起來的也是一條命令,Shell先執行該命令,然後將輸出結果立刻代換到當前命令行中。例如定義一個變量存放date 命令的輸出: $ DATE=`date` $ echo $DATE 命令代換也可以用$
原创 Linux下 局域網管理軟件
1實現對局域網內的計算機流量進行查看
原创 Main the heap property
//@lx time:2010-09-08 P130 //Maintaining the heap property #include "stdafx.h" #include <iostream> #include <vector> u
原创 插入排序
// algINSERTIONSORT.cpp : 定義控制檯應用程序的入口點。 // //算法導論 P17 2010.09.07 @lx #include "stdafx.h" #include <vector> #include <i
原创 MFC 類型識別與動態創建
If you have derived your class from< id="alink_3" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-
原创 HEAPSORT(A) P136
//@lx HEAPSORT(A) p136 //time: 2010-9-13 #include "stdafx.h" #include <iostream> #include <vector> using namespace std;
原创 時間
每天總是感覺時間如此緊迫 感覺學的東西那麼少。 我太急躁了 太急功近利 世界上沒有事情是又好又快的 多一點安心 少一點緊張