当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: 一、Thread类的创建: unit Thread;{ 线程类
 

 

 ·此vector非彼vector     »显示摘要«
    摘要: 在学习stl的过程中,我发现了一个熟悉的面孔——vector。之所以熟悉,是因为vector是java核心类库中的collection container的一种,然而在我近一年的开发历程当中,我从来都没有使用过vector,甚至对其几乎是一无所知,只是知道这是jdk中遗留的collection container,而且在开发过程中也不提倡使用它。花心的我在看着stl的ve......
 ·在string的面前丢脸    »显示摘要«
    摘要: 重返c++的世界,自然离不开标准库,首当其冲的是std::string了。而我这两天硬是在string的面前不断丢脸。sigh~~ std::string hello = "hello"; std::string message = hello + ", world" + "!"; std::string anothermessage......


Thread类的创建及使用

一.thread类的创建:

{             线程类的创建 【程序编程相关:weblogic 你可能要解决的小问题(

unit thread; 【推荐阅读:《逐渐挖掘Enhanced for Lo

} 【扩展信息:PHP-GTK 1.0.1 releas

  编译环境: windows 2003 sever  delphi 7.0 enterprise

interface

uses classes,sysutils,stdctrls;

type

  tb = class(tthread)

  private

    i :integer;

    fedt :tedit;

    procedure update ;

  public

    procedure execute;override;

    constructor create(issuspended :boolean;edt :tedit);

  end;

implementation

uses mainform;

procedure tb.update;

begin

  fedt.text :=inttostr(i);

end;

constructor tb.create(issuspended: boolean; edt: tedit);

begin

  inherited create(issuspended);

  fedt := edt;

end;


...   下一页
 ·php应用加速工具软件    »显示摘要«
    摘要:以上我们都是利用优化代码的方法对程序进行提速,接着我们要关注一下php加速的另一个领域—缓存工具软件。这类软件都是从优化php运行环境来提速的,不需要改变任何代码。我们可以大概地将它们称为“执行码优化/缓存工具”,你可以理解为它们用来实现比较底层的优化/缓存。 以下列出目前比较常用的此类工具,具体哪种效果最好,请用自己的服务器环境测试: (一)apc ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE