上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 99 下一页
摘要: 爱因斯坦出了一道这样的数学题:有一条长阶梯,若每步跨2阶,则最最后剩一阶,若每步跨3 阶,则最后剩2阶,若每步跨5阶,则最后剩4阶,若每步跨6阶则最后剩5阶。只有每次跨7阶,最后才正好一阶不剩。请问这条阶梯共有多少阶? *问题分析与算法设计 根据题意,阶梯数满足下面一组同余式: x≡1 (mod2) x≡2 (mod3) x≡4 (mod5) x≡5 (mod6) x≡0 (mod7) *程序... 阅读全文
posted @ 2008-08-19 08:47 广陵散仙(www.cnblogs.com/junzhongxu/) 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 用一元人民币兑换成1分、2分和5分硬币,共有多少种不同的兑换方法。 *问题分析与算法设计 根据题意设i,j,k分别为兑换的1分、2分、5分硬币所具有的钱数(分),则i,j,k的值应满足: i+j+k=100 *程序说明与注释 #include int main() { int i,j,k,count=1; printf("There are follwing small exchange pl... 阅读全文
posted @ 2008-08-19 08:46 广陵散仙(www.cnblogs.com/junzhongxu/) 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 张三、李四、王五、刘六的年龄成一等差数列,他们四人的年龄相加是26,相乘是880,求以他们的年龄为前4项的等差数列的前20项。 *问题分析与算法设计 设数列的首项为a,则前4项之和为"4*n+6*a",前4 项之积为"n*(n+a)*(n+a+a)*(n+a+a+a)"。同时"1 int main() { int n,a,i; printf("The series with equal diff... 阅读全文
posted @ 2008-08-19 08:46 广陵散仙(www.cnblogs.com/junzhongxu/) 阅读(237) 评论(0) 推荐(0) 编辑
摘要: Introduction The CURLLinkButton class extends the functionality of CButton by providing support for URL links. It displays the URL link and invokes the shell when clicked. It can be used in your proj... 阅读全文
posted @ 2008-08-13 13:22 广陵散仙(www.cnblogs.com/junzhongxu/) 阅读(367) 评论(0) 推荐(0) 编辑
摘要: A class which encapsulates a hyperlink control for web page redirection or normal button usage. 阅读全文
posted @ 2008-08-13 13:20 广陵散仙(www.cnblogs.com/junzhongxu/) 阅读(710) 评论(0) 推荐(0) 编辑
摘要: Introduction EnableGroupboxControls is a function I have used in several projects, where I wanted to enable/disable all the controls within a groupbox. There are several other solutions to this proble... 阅读全文
posted @ 2008-08-13 13:18 广陵散仙(www.cnblogs.com/junzhongxu/) 阅读(630) 评论(0) 推荐(0) 编辑
摘要: Introduction I needed a button for a skinnable user-interface, where the user could change the visual aspects. My first idea, a button that is skinned by bitmaps, was a little unhandy for my interfac... 阅读全文
posted @ 2008-08-12 09:31 广陵散仙(www.cnblogs.com/junzhongxu/) 阅读(787) 评论(3) 推荐(0) 编辑
摘要: Introduction XP-Style Button provides the look and feel of a button with any of of the three built-in color schemes of Windows XP and will also work with earlier versions of Windows, or using a color... 阅读全文
posted @ 2008-08-12 09:30 广陵散仙(www.cnblogs.com/junzhongxu/) 阅读(506) 评论(0) 推荐(0) 编辑
摘要: Introduction For an application that uses icons instead of buttons, perhaps there might be a need to add some fancy effects rather than only showing a rising icon (when hovering). This control gives ... 阅读全文
posted @ 2008-08-12 09:21 广陵散仙(www.cnblogs.com/junzhongxu/) 阅读(195) 评论(0) 推荐(0) 编辑
摘要: Introduction CGroupControl is a CButton-derived class which assists with the use of group boxes (i.e., buttons with the BS_GROUPBOX style). The CGroupControl makes it easy to enable/disable, show/hid... 阅读全文
posted @ 2008-08-12 09:20 广陵散仙(www.cnblogs.com/junzhongxu/) 阅读(413) 评论(0) 推荐(0) 编辑
摘要: Contents Introduction Code Using the Code Future Development History Introduction I have a habit of using the standard Windows controls as little as possible. If I can write my... 阅读全文
posted @ 2008-08-12 09:18 广陵散仙(www.cnblogs.com/junzhongxu/) 阅读(562) 评论(0) 推荐(0) 编辑
摘要: A file/folder browsing control that integrates an editbox and a button with built-in images. 阅读全文
posted @ 2008-08-12 09:16 广陵散仙(www.cnblogs.com/junzhongxu/) 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 1. Introduction We are living in an age of information, but sometimes information imposes more burden than benefit. From a user’s view, most information systems including file systems, mail systems an... 阅读全文
posted @ 2008-08-12 08:41 广陵散仙(www.cnblogs.com/junzhongxu/) 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 程序员提高班之开班发言 冒号开了个程序员提高班,今天迎来了首期学员,他们是问号、句号、逗号、引号和叹号,皆为IT业的新兵。望着台下洋溢着青春与渴望的脸庞,冒号开始了他的开班发言—— 大家好!先自我介绍一下,本人姓冒名号字解之。。。 本班的宗旨是:学会不如会学,会学不如会用,会用不如被用。。。 如果知识是水,我们要挖掘最先涌动的那颗泉眼;如果知识是火,我们要捕捉起初点燃的那颗火花。。。 阅读全文
posted @ 2008-08-12 08:35 广陵散仙(www.cnblogs.com/junzhongxu/) 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 关于流行计算机语言的讨论 众人面面相觑,一阵沉默后开始窃窃私语,显然有些不太习惯这种教学方式——笔记本上还没写两个字呢,老师就把球给踢回来了。 冒号也不说话,只是微笑地望着大家。 还是问号打破僵局,开始发问:“老师——”。。。 没有激情作氧气,灵感的火花注定转瞬即灭。。。 阅读全文
posted @ 2008-08-12 08:34 广陵散仙(www.cnblogs.com/junzhongxu/) 阅读(199) 评论(0) 推荐(0) 编辑
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 99 下一页