摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--/*FileName:Array.h*Author:Lupin*Description:Asimplearraywithiteratorforint*/#ifndefARRAY_H_#defineARRA... 阅读全文
posted @ 2006-03-18 22:49 Lupin 阅读(994) 评论(0) 推荐(0) 编辑
摘要: Python支持数据类型:整数,浮点数,复数,字符串 复数在这里虚数由一个 "j"后缀表示,也可以通过complex(real, img)来创建。实部和虚部可以分别访问。就像这样:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->>>... 阅读全文
posted @ 2006-03-18 22:41 Lupin 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 这两天在Linux下用Eclipse编数据结构,还有试用CPPUNIT,总是遇到一个错误,就是“undefined reference to [function name]”。找了很久,终于发现是在写makefile的疏忽所致。出错的时候是这样的:Code highlighting produced by Actipro CodeHighlighter (freeware)... 阅读全文
posted @ 2006-03-18 21:40 Lupin 阅读(55026) 评论(3) 推荐(0) 编辑