一、实验目的比较共享式以太网和交换式以太网在不同网络规模下的性能。二、实验方法使用opnet来创建和模拟网络拓扑,并运行分析其性能。三、实验内容3.1 实验设置(网络拓扑、参数设置、要观察的数据等)步骤1:下载IT Guru,创建一个新的项目,将其命名为hub_switch_project。步骤2:...
分类:
Web程序 时间:
2014-11-06 19:24:38
阅读次数:
365
static public function randString($len=6,$type=‘‘,$addChars=‘‘) { ??????? $str =‘‘; ??????? switch($type) { ??????????? case 0: ??????????????? $chars=‘ABCD...
分类:
Web程序 时间:
2014-11-06 15:13:41
阅读次数:
193
UIDeviceOrientationorientation;orientation=[[UIDevicecurrentDevice]orientation];switch(orientation){caseUIDeviceOrientationFaceUp:self.orientationLabel.text=@"FaceUp";break;caseUIDeviceOrientationFaceDown:self.orientationLabel.text=@"FaceDown";break;caseUID..
分类:
移动开发 时间:
2014-11-06 02:10:21
阅读次数:
174
今天在做android widget时发现点击任意widget时只会更新最后一个widget原来是requestCode的问题 Intent intent = new Intent(WidgetProvider.ACTION_SWITCH); intent.putExtra(AppWidgetMan...
分类:
其他好文 时间:
2014-11-05 19:35:42
阅读次数:
174
跳跃语句 由于break、continue和goto语句有助于跳跃到代码中的某个特定语句,因此它们属于跳跃语句。下面是这三个语句的介绍。 ①break语句 这个语句常与switch语句联合使用;但是,C#允许你使用它跳出当前语句块。我们经常用break语句跳出一个循环语句块。 下面是brea...
分类:
其他好文 时间:
2014-11-05 19:00:28
阅读次数:
307
public string GetObjectTypeName(object oType){switch (oType+""){case "U":return "用户表";case "V":return "视图";case "P":return "存储过程";case "TF":return "表函...
分类:
数据库 时间:
2014-11-05 19:00:06
阅读次数:
244
http://acm.hdu.edu.cn/showproblem.php?pid=2053思路:根据n=5的图,可以知道,就是判断n可以被1-n里的数整除多少次。。#includeint main(){ int k,j,n; while(scanf("%d",&n)!=EOF){ ...
分类:
其他好文 时间:
2014-11-05 14:29:02
阅读次数:
173
window.onload = window.onresize = function initialLoad(){updateOrientation();}function updateOrientation(){ var contentType = ''; switch(window....
分类:
Web程序 时间:
2014-11-05 12:48:00
阅读次数:
152
重开发者的劳动成果,请勿转载
Objective-C中的控制语句有以下几类:
? 分支语句: if-else, switch
? 循环语句: while, do-while, for
? 与程序转移有关的跳转语句: break, continue, goto
对于任何程序语言来说,有能力进行判断是一项基本特性。
if-else语句
分支语句提供了一种控制...
分类:
其他好文 时间:
2014-11-05 00:28:12
阅读次数:
233