摘要:
del.icio.us - A social bookmarks manager. Using bookmarklets, you can add bookmarks to your list and categorize them. Flickr - Flickr is almost certainly the best online photo management and sharing a... 阅读全文
摘要:
有时间要好好看一下这篇文章,或者干脆翻译成中文;原文链接:http://www.artima.com/weblogs/viewpost.jsp?thread=146149 阅读全文
摘要:
Eclipse和Pydev组合是非常好的python开发环境,我现在用的Eclipse3.1.2和pydev1.0.3的组合。但是,在使用这个组合的过程中我发现,对python脚本格式支持不是很完全,主要问题是代码段的换行违规(不知道是不是跟我的设置有关系),这个问题很隐蔽,因为在eclipse里面看不出来,所以发现问题的方法只有一个,就是用IDLE打开代码段,仔细查看有没有违规的代码。 阅读全文
摘要:
偶然看到IPython这个东东,向大家推荐一下: 大家都知道Python安装包提供了一个交互解释器,它可以用来测试代码段,比如测试一个算法或者练习使用一个库,还可以完成一些任务。 而IPython是一种“高级交互式python”, 除了包含内置的交互解释器的功能(当然这个用起来感觉还是不一样地。。)以外还提供了一组非常有用的工具。Fernando Pérez是IPython的创建者,... 阅读全文
摘要:
帮助理解iterator的原理 阅读全文
摘要:
#include using namespace std; template class plus{public: T operator()(const T& x, const T& y) const { return (x + y); }};template class minus{public: T operator()(const T& x, const T& y) const { ... 阅读全文
摘要:
#include using namespace std;ofstream out ("order.txt");#define CLASS(ID) class ID{\public: \ ID(int) {out << #ID " constructor\n";}\ ~ID() {out << #ID " destructor\n";}\};CLASS(base1);CLASS(member1)... 阅读全文
摘要:
c++写的选择排序, 冒泡排序 阅读全文
摘要:
能完整写出这几个函数的越来越少了~~~~~ 阅读全文
摘要:
#include using namespace std; class CInt {public: CInt(int i) : m_i(i) {}; virtual ~CInt(){}; void operatorm_i); return *this; } const CInt operator++(int) { CInt temp = *this; ++(*this); retur... 阅读全文