这个网站上的一系列讲解NS2的内容真的是深入浅出,看完立刻豁然开朗。所以就接连转了几篇。Scheduling Events那篇里的例子特别好,看完就懂了。http://www.mathcs.emory.edu/~cheung/Courses/558-old/Syllabus/90-NS/NS Sim...
分类:
其他好文 时间:
2014-10-27 00:18:19
阅读次数:
230
Studying TCP's Throughput and Goodput using NS What is Throughput Throughput is the amount of data received by the destination.The Average Throughput ...
分类:
其他好文 时间:
2014-10-27 00:15:48
阅读次数:
276
??
1
头文件
TMenu.h
#ifndef
__TMENU_H__
#define
__TMENU_H__
#include
"cocos2d.h"
USING_NS_CC;
class
TMenu :public
CCLayer
{
public:
...
分类:
其他好文 时间:
2014-10-24 22:18:42
阅读次数:
279
转载请注明出处:http://blog.csdn.net/ns_code/article/details/25739727 九度OJ上AC,採用归并的思想递归实现。题目描写叙述:输入两个单调递增的链表,输出两个链表合成后的链表,当然我们须要合成后的链表满足单调不减规则。(hint: 请务必使用链表....
分类:
其他好文 时间:
2014-10-24 22:14:40
阅读次数:
344
使用普通方法实现批处理精灵在Sprite.h中加入以下的代码#ifndef __Sprite_SCENE_H__#define __Sprite_SCENE_H__#include "cocos2d.h"USING_NS_CC;class Sprite : public CCLayer{public...
分类:
其他好文 时间:
2014-10-24 12:33:31
阅读次数:
179
1
记忆卡片游戏代码
CardItem.h
#pragma
once
#ifndef
__CardItem_H__
#define
__CardItem_H__
#include
"cocos2d.h"
USING_NS_CC;
class
CardItem...
分类:
移动开发 时间:
2014-10-24 11:05:08
阅读次数:
359
吐槽一下: 这个导入现有数据文件弱爆了...直接将要导入的数据文件放到mongodb下的db目录下就完事了...O(∩_∩)O哈哈~例如:将shop_suning (shopdb_suning.ns,shopdb_suning.0 这两个文件) 复制到D:\mongodb\data\db目录下,重新...
分类:
数据库 时间:
2014-10-24 10:38:06
阅读次数:
206
Step1 首先需要下载mflood协议,其中包括两个文件夹:一个是mflood协议(还有文件把mflood.cc,mflood.h,mflood-seqtable.cc,mflood-seqtable.h,mflood-packet.h),一个是用于mflood测试的文件夹。Step2 在ns-2...
分类:
其他好文 时间:
2014-10-23 15:51:42
阅读次数:
238
??1. web.xml?? <?xml?version="1.0"?encoding="UTF-8"?>??
<web-app?version="2.5"???
????xmlns="http://java.sun.com/xml/ns/javaee"???
????xmlns:xsi="http://www.w3.org/2001/XMLSc...
分类:
编程语言 时间:
2014-10-22 13:03:31
阅读次数:
200
1、增加一个本地推送
//设置20秒之后
NSDate*date=[NSDatedateWithTimeIntervalSinceNow:20];
//chuagjian一个本地推送
UILocalNotification*noti=[[[UILocalNotificationalloc]init]autorelease];
if(noti){
//设置推送时间
noti.fireDate=date;
//设置时区
noti.timeZone=[NS..
分类:
移动开发 时间:
2014-10-22 06:34:45
阅读次数:
203