上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 207 下一页

2013年5月6日

(转)新建一个Agent/MyAgent详细过程

摘要: 一个简单的例子,但说明了Tcl和c++是如何映射的。程序的目的是创建一个新的网络对象类“MyAgent”,它是”Agent”的子类。 下面把我的ex-linkage.cc代码贴在这里://this is a simple agent just for show#include <stdio.h>#include <string.h>#include "agent.h"class MyAgent : public Agent {public:MyAgent();protected:int command(int argc,const char*cons 阅读全文

posted @ 2013-05-06 16:18 原来... 阅读(515) 评论(0) 推荐(0) 编辑

上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 207 下一页

导航