摘要: 1.If you are not sure what type a value has, the interpreter can tell you. >>> type("Hello, World!") >>> type(17) Not surprisingly, strings belong to the type string and integers belong to the type... 阅读全文
posted @ 2006-03-21 17:26 shipfi 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 今天模拟项目开始PG,我的工作是从局数据config.dat中读取数据,写入一struct结构中。还有把struct结构中的数据写入config.dat。项目并不难,但要遵循的标准蛮多。 今天违反了几个标准: 1.字符串常量,并不允许随便添加进代码中,必须要写进resource中的string Table中去 2.注释,必须执行严格的规范,并不是想怎么加就怎么加,... 阅读全文
posted @ 2006-03-21 13:53 shipfi 阅读(226) 评论(0) 推荐(0) 编辑