- 浏览: 29608 次
- 性别:
- 来自: 珠海
-
最新评论
-
lipanpally:
I do not know how to profile my ...
ssd6 ex4 -
hej748:
qianjigui 写道
第一篇,加油!
哇咔咔 第一个回复 ...
SSD6 Multiple-Choice Quiz 4 -
qianjigui:
第一篇,加油!
SSD6 Multiple-Choice Quiz 4
文章列表
只有题目的简略翻译 我还没做 有的句子不会翻译
Exercise 4
Profiling Lab: Understanding Program Performance
这个练习呢,将给一个程序让你去优化,虽然会有很多可以优化的地方,不过你应该注意那些能更显著地减少运行时间的优化。
这个程序呢,可以perform string substitutions on a list of files。这个程序的输入是specified on the command line的。举个例子:
substitute.exe replacements.txt file1.txt file2.txt ... f ...
- 2008-12-23 23:06
- 浏览 2680
- 评论(1)
1 同上上篇日志 老师给的代码
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
Dim c As Char
c = e.KeyChar
If c = "."c Then
If InStr(TextBox1.Text, e.KeyChar) > 0 Or (InStr(TextBox1.T ...
- 2008-12-20 15:42
- 浏览 1204
- 评论(0)
转自CSDN 原链接未知
1、“.”为通配符,表示任何一个字符,例如:“a.c”可以匹配“anc”、“abc”、“acc”;
2、“[]”,在[]内可以指定要求匹配的字符,例如:“a[nbc]c”可以匹配“anc”、“abc”、“acc”;但不可以匹配“ancc”,a到z可以写成[a-z],0到9可以写成[0-9];
3、数量限定符号,表示匹配次数(或者叫做长度)的符号:
包括:“*”——0次或者多次 “+”——1次或者多次 “?”——0次或者1次 “{n}”——匹配n次,n为整数 “{n,m}”——匹配从n到m之间的某个数的次数;n和m都是整数 ...
- 2008-12-19 10:06
- 浏览 688
- 评论(0)
给一个文本框,只能输入数字、小数点和负号,其他的按键输入将不显示。
1.普通程序代码控制
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress Dim c As Char ...
- 2008-12-19 09:52
- 浏览 966
- 评论(0)
How to Write a Usability Aspect Report (UAR)
UAR Identifier — <Problem or Good Feature>
Succinct description of the usability aspect
Evidence for the aspect
Explanation of the aspect
Severity of the problem or benefit of the good feature
Possible solution and potential trade-offs (if the ...
- 2008-12-19 09:16
- 浏览 1075
- 评论(0)
【ssd6 quiz 4 做了6次 】
1.To quickly allocate and free many variables of a commonly used data type, we could (a) minimize the size of the data type. (b) coalesce blocks when they are freed. (c) use sizes which are powers of two. (d) keep a linked list of free objects of that t ...
- 2008-11-28 17:44
- 浏览 2344
- 评论(2)