ITeye博客

搜索

cjc · 共 847 篇文章

Visual Studio 2008 每日提示(十一)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-19 00:38 · 评论(0)

Visual Studio 2008 每日提示(十)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-18 09:17 · 评论(0)

Visual Studio 2008 每日提示(九)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-17 01:43 · 评论(0)

漂亮的设计会带来长远的好处

今天重读了《代码之美》中Adam Kolawa缩写的一个章节——《漂亮的设计会给你带来长远的益处》,有了那么一点点感触。先说一下Adam的经历,现在Adam是Parasoft公司的创始人和CEO,在业界有着很高的知名度,根据《代码之美》上的介绍,因为他有着多年在各种软件开发流程中的经验,他对目前高科技企业的理解视角非常独特,也能很敏锐地抓住目前所流行的技术方向。至于Parasoft公司,对于测试领域比较关注的朋友可能会更熟悉一些,它的产品Jtest、C++test、.TEST、SOAtest都有着不错的口碑。从Adam的经历和他所做的事情来看,完全符合欧美企业走专业化道路的特征。 在文章中,…

2008-12-16 12:32 · 评论(0)

Visual Studio 2008 每日提示(八)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-16 02:17 · 评论(0)

Visual Studio 2008 每日提示(七)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-15 12:44 · 评论(0)

Draw an egg(3)

Use 4 arcs to compose an egg shape: Private Sub Form_Click() Me.Caption = "Draw an egg" Dim pi As Single, X As Single pi = 4 * Atn(1) Me.Scale (-2, -4)-(4, 4) Me.Circle (2, 0), 1, vbCyan, 3 * pi / 2, pi / 2 Me.Circle (Sqr(3) / 2, 0), 0.5, vbCyan, 2 * pi / 3, 4 * pi / 3 Me.Circle (2, 2), 2, vbCyan, …

2008-12-12 01:00 · 评论(0)

Draw an egg(2)

It's also easy to draw an egg with the curve y^2=(sin(x)*(1+cos(x)/π)). Private Sub Form_Click() Me.Caption = "Draw an egg" Dim pi As Single, X As Single pi = 4 * Atn(1) Me.Scale (-1, -2)-(4, 2) For X = 0 To pi Step 0.0005 Me.Circle (X, -Sqr(Sin(X) * (1 + Cos(X) / pi))), 0.01, vbWhite Me.Circle (X,…

2008-12-12 00:23 · 评论(0)

Draw an egg

It's very easy to draw an egg with the curve y^2=(x^2-1)*(x-π) Private Sub Form_Click() Me.Caption = "Draw an egg" Dim X As Double Me.Scale (-1.5, -3)-(1.5, 3) For X = -1 To 1 Step 0.0005 Me.Circle (X, -Sqr((X ^ 2 - 1) * (X - 4 * Atn(1)))), 0.01, vbRed Me.Circle (X, Sqr((X ^ 2 - 1) * (X - 4 * Atn(1…

2008-12-11 23:54 · 评论(0)

Visual Studio 2008 每日提示(六)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-11 03:18 · 评论(0)

Visual Studio 2008 每日提示(五)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-10 15:33 · 评论(0)

Visual Studio 2008 每日提示(四)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-09 02:49 · 评论(0)

动态规划一例

题目( http://topic.csdn.net/u/20081208/16/672693a2-ce8e-462a-ba07-a70ff2f0c5a2.html?seed=2109433475 ):有一个蛋糕,被切成了100份,现将这个100份装到12个盘子中,要求每个盘子中的份数不能为0,并且份数中必须还有数字3,不论个位或者十位,例如13份,37份等。 请给出每个盘子中各装多少份的所有答案。 分析:盘子里的份数只能为 3, 13, 23, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 43, 53, 63 等16种情况,递归比较复杂,使用动态规划要好些…

2008-12-08 22:45 · 评论(0)

Erf

ERF 返回误差函数在上下限之间的积分。 如果该函数不可用,并返回错误值 #NAME?,请安装并加载“分析工具库”加载宏。 在“工具”菜单上,单击“加载宏”。 在“可用加载宏”列表中,选中“分析工具库”框,再单击“确定”。 如果必要,请遵循安装程序中的指示。 语法 ERF ( lower_limit ,upper_limit) Lower_limit ERF 函数的积分下限。 Upper_limit ERF 函数的积分上限。如果省略,ERF 将在零到下限之间进行积分。 说明 如果下限是非数值型,函数 ERF 返回错误值 #VALUE!。 如果下限是负值,函数 ERF 返回错误值 #NUM!。…

2008-12-08 14:27 · 评论(0)

Visual Studio 2008 每日提示(三)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-05 11:52 · 评论(0)