随笔-13  评论-0  文章-15  trackbacks-0
  置顶随笔
千万不要急,欲速则不达!
先学会走,在想着跑。
学习计算机技术的一个方法:勤动脑,勤动手。
posted @ 2008-02-19 21:21 喜++| 编辑 收藏
  2008年2月26日
     摘要:   阅读全文
posted @ 2008-02-26 17:08 喜++| 编辑 收藏
     摘要:   阅读全文
posted @ 2008-02-26 14:04 喜++| 编辑 收藏
  2008年2月19日
千万不要急,欲速则不达!
先学会走,在想着跑。
学习计算机技术的一个方法:勤动脑,勤动手。
posted @ 2008-02-19 21:21 喜++| 编辑 收藏
  2008年2月6日
function TCustomStatusBar.ExecuteAction(Action: TBasicAction): Boolean;
begin
  if AutoHint and (Action is THintAction) and not DoHint then
  begin
    if SimplePanel or (Panels.Count = 0) then
      SimpleText := THintAction(Action).Hint else
      Panels[0].Text := THintAction(Action).Hint;
    Result := True;
  end
  else Result := inherited ExecuteAction(Action);
end;

在MDI中谁来CALL?

bool TCustomStatusBar::ExecuteAction(TBasicAciton& Action)
{
    if(AutoHint && Action.IsKindOf(THintAction) && !DoHint())
       if (SimplePanel || Panels.Count == 0)
           SimpleText = Action.Hint ;
       else
           Panels[0].Text = Action.Hint;
       return true;
    return Base::(?)ExecuteAction(Action);    

}

posted @ 2008-02-06 03:00 喜++| 编辑 收藏
  2008年2月4日
DELPHI 这个脚本环境还真不赖。
(别给我讲啥是语言,啥是脚本,啥是编译,啥是解释,偶懂)

posted @ 2008-02-04 23:26 喜++| 编辑 收藏
  2008年2月3日
看了《集结号》,才知道什么是男人。
posted @ 2008-02-03 00:26 喜++| 编辑 收藏
  2008年2月2日
真正的C++的美,也许能在UNIX/LINUX中才能找的到。
posted @ 2008-02-02 13:01 喜++| 编辑 收藏
     摘要: 写了一个类型,用于读取硬盘物理参数.  阅读全文
posted @ 2008-02-02 04:50 喜++| 编辑 收藏
  2008年2月1日
     摘要:   阅读全文
posted @ 2008-02-01 11:45 喜++| 编辑 收藏
#include <iostream>
#include 
<vector>
#include 
<algorithm>
#include 
<iterator>

using namespace std; 

int main(void)
{
    typedef vector
<int>    int_vector;
    typedef istream_iterator
<int>    istream_itr;
    typedef ostream_iterator
<int>    ostream_itr;
    typedef back_insert_iterator
< int_vector > back_ins_itr;
    
// STL中的vector容器
    int_vector num;
    
// 从标准输入设备读入整数,
    
// 直到输入的是非整型数据为止
    copy(istream_itr(cin), istream_itr(), back_ins_itr(num));
    
// STL中的排序算法
    sort(num.begin(), num.end());
    
// 将排序结果输出到标准输出设备
    copy(num.begin(), num.end(), ostream_itr(cout, " "));

    cout
<<endl;
    
return 0;
}
posted @ 2008-02-01 00:12 喜++| 编辑 收藏
仅列出标题  下一页