题目:利用条件运算符的嵌套来完成此题:学习成绩>=90分的同学用A表示,60-89分之间的用B表示,60分以下的用C表示。 1.程序分析:(a>b)?a:b这是条件运算符的基本例子。
上传时间: 2015-01-08
上传用户:lifangyuan12
本系统是在asp版《在线文件管理器》的基础上设计制作,取其精华,弃其糟粕,功能更强,效率更高,具有以下特点: 1。采用三层结构开发,程序逻辑和用户界面彻底分离,可轻松换肤。 2。全部代码采用Ultra Edit编写,不使用任何可视化开发工具,精确控制代码流程,确保代码高效率运行。 3。自行开发自定义控件,不产生任何一丁点的HTML代码冗余。 4。尽可能的减少客户与服务器的交互,降低对服务器资源消耗,减少网络传输。 5。真正多用户系统,可分别为每个用户设置可管理的文件类型,目录等,上传的单个文件大小限制等。 6。各用户环境自由配置,风格自选(如果有多个风格的话),可自由设置每页显示的文件及目录数等。 7。文件与目录翻页分开,即使管理同一目录下的数万个文件也不再出现程序超时现象。 8。功能强大,除了asp版具备的全部功能如上传、下载、编辑、批量复制、移动、粘贴外还具备文件快速过滤搜索,智能修改文件属性。 9。效率极高。经测试,在一太普通PC上对一个包含50000个文件的目录进行浏览管理,任意翻页,执行时间均不超过1秒。过滤或者搜索则更是低至仅0.3秒的执行时间。而windows资源管理器打开目录或者asp版翻至最后一页都需要6.5秒甚至更长时间。
上传时间: 2015-04-01
上传用户:kr770906
本系统是在asp版《在线文件管理器》的基础上设计制作,取其精华,弃其糟粕,功能更强,效率更高,具有以下特点: 1。采用三层结构开发,程序逻辑和用户界面彻底分离,可轻松换肤。 2。全部代码采用Ultra Edit编写,不使用任何可视化开发工具,精确控制代码流程,确保代码高效率运行。 3。自行开发自定义控件,不产生任何一丁点的HTML代码冗余。 4。尽可能的减少客户与服务器的交互,降低对服务器资源消耗,减少网络传输。 5。真正多用户系统,可分别为每个用户设置可管理的文件类型,目录等,上传的单个文件大小限制等。 6。各用户环境自由配置,风格自选(如果有多个风格的话),可自由设置每页显示的文件及目录数等。 7。文件与目录翻页分开,即使管理同一目录下的数万个文件也不再出现程序超时现象。 8。功能强大,除了asp版具备的全部功能如上传、下载、编辑、批量复制、移动、粘贴外还具备文件快速过滤搜索,智能修改文件属性。 9。效率极高。经测试,在一太普通PC上对一个包含50000个文件的目录进行浏览管理,任意翻页,执行时间均不超过1秒。过滤或者搜索则更是低至仅0.3秒的执行时间。而windows资源管理器打开目录或者asp版翻至最后一页都需要6.5秒甚至更长时间。
上传时间: 2014-01-05
上传用户:冇尾飞铊
开放源码的smpp协议开发包,最新版本0.3.6,有详细文档及示例。
上传时间: 2015-04-04
上传用户:gmh1314
libneural神经网络C库函数源代码,版本1.0.3.
上传时间: 2015-04-07
上传用户:啊飒飒大师的
MicroChip Zigbee协议栈开源代码,版本1.0-3.3,支持coordinator\router\rfd。
上传时间: 2014-01-07
上传用户:四只眼
接收pop3 Public Function Retrieve(ByVal rhs As Pop3Message) As Pop3Message Dim message, response As String Dim msg As New Pop3Message msg.bytes = rhs.bytes msg.number = rhs.number message = "RETR " + rhs.number.ToString + vbCrLf write(message) response = Respond() If response.Substring(0, 3) <> "+OK" Then Throw New Pop3Exception(response) End If MsgBox(msg) msg.retrieved = True While (1 = 1) response = Respond() If response = "." + vbCrLf Then Exit While Else msg.message += response End If End While Return msg End Function
标签: Pop3Message Function Retrieve response
上传时间: 2013-12-28
上传用户:fnhhs
* Function: * 1. Replace the first oldstr with newstr in srcstr * Arguments: * IN : * srcstr * oldstr * newstr * OUT : * srcstr * Return: * 1. If find and replace one oldstr with newstr in srcstr , return 1 * 2. If find no oldstr in srcstr , return 0 * 3. If error (malloc return NULL) return -1 * Notes: * 1. srcstr should be large size enough.
标签: Arguments Function Replace oldstr
上传时间: 2014-12-20
上传用户:Yukiseop
The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition
标签: government streamline important alphabet
上传时间: 2015-06-09
上传用户:weixiao99
delphi编制的nes模拟器--tNes,目前为0.3版支持声音、单手柄、mapper0、mapper2。可以玩经典的坦克大战、玛丽奥1、魂斗罗、1944等等。40kb左右的游戏基本上都能玩。附带有2个测试用的rom,cart和nestress。写这个主要是为了加深对计算机的了解,许多地方用了简单的方法,渲染游戏画面用的是内存中的bitmap,而没有直接在显存作渲染,速度就不是很理想。这个模拟器献给70年代出生的朋友,希望能够唤醒一些童年的欢乐。
上传时间: 2014-01-20
上传用户:lijinchuan