06 2009 档案

Defining Python Source Code Encodings
摘要: Abstract This PEP proposes to introduce a syntax to declare the encoding of a Python source file. The encoding information is then used by the Python parser to interpret the file using the given encod...阅读全文

posted @ 2009-06-27 22:57 土豆皮 阅读(181) | 评论 (0) 编辑

AnimateWindow函数实现窗口动画效果
摘要: 一个基础实例 BOOLAnimateWindow( HWNDhwnd, DWORDdwTime, DWORDdwFlags );   hWnd:指定产生动画窗口的句柄;   dwTime:指明动画持续的时间(以微秒计),完成一个动画的标准时间为200微秒;   dwFags:指定动画类型。这个参数可以是一个或多个标志的组合。 dwFlags:   AW_SLIDE:使用滑动类型。缺省为滚动类型。使...阅读全文

posted @ 2009-06-18 14:55 土豆皮 阅读(209) | 评论 (0) 编辑

关于srandom和random
摘要: 在vc++中程序中用了srandom()和random(),头文件为stdlib.h,但编译出现错误error C3861: “srandom”: 找不到标识符。 原因是现在vc++编译器的库函数中没有randomize()和random(),分别用srand()和rand()代替了。 #include <time.h> //定义关于时间的函数 一般在用到t...阅读全文

posted @ 2009-06-17 23:59 土豆皮 阅读(505) | 评论 (0) 编辑

Visual C++2008 C++ TR1 随机数编程笔记
摘要: At the core of any pseudorandom number generation software is a routine for generating uniformly distributed random integers. In C++ TR1 you have your choice of several core generators that it calls &...阅读全文

posted @ 2009-06-17 23:58 土豆皮 阅读(1704) | 评论 (2) 编辑

导航

公告

昵称:土豆皮
园龄:5年
粉丝:0
关注:0
<2009年6月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

统计

搜索

 
 

常用链接

我的标签

随笔分类

随笔档案

文章分类

相册

最新评论

阅读排行榜

评论排行榜

推荐排行榜