随笔分类 -  C/C++

推荐几本Python电子书
摘要:Beginning PythonText Processing in PythonPython in a Nutshell, Second EditionPython for Unix and Linux System AdministrationLearning Python 阅读全文

posted @ 2010-09-06 10:03 hunter_gio 阅读(300) 评论(0) 推荐(0)

学习Shell好书
摘要:学习Shell好书 阅读全文

posted @ 2010-08-30 10:14 hunter_gio 阅读(406) 评论(0) 推荐(0)

C/C++ 电子书推荐
摘要:The.C.Standard.Library.A.Tutorial.and.ReferenceC++ by DissectionSecure Programming Cookbook for C and C++C++ Footprint and Performance Optimization 阅读全文

posted @ 2010-08-18 15:03 hunter_gio 阅读(460) 评论(0) 推荐(0)

一个简单的iterator的代码
摘要:帮助理解iterator的原理 阅读全文

posted @ 2005-05-13 21:14 hunter_gio 阅读(513) 评论(0) 推荐(0)

学习STL Functor时候的测试程序
摘要:#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 { ... 阅读全文

posted @ 2005-05-13 09:52 hunter_gio 阅读(425) 评论(0) 推荐(0)

理解构造函数和析构函数的调用顺序
摘要:#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)... 阅读全文

posted @ 2005-05-11 13:25 hunter_gio 阅读(1164) 评论(0) 推荐(0)

网上看到的排序源码, 准备面试的朋友可以看看
摘要:c++写的选择排序, 冒泡排序 阅读全文

posted @ 2005-05-11 10:48 hunter_gio 阅读(518) 评论(0) 推荐(0)

温习一下string.c里的几个函数
摘要:能完整写出这几个函数的越来越少了~~~~~ 阅读全文

posted @ 2005-05-10 10:28 hunter_gio 阅读(483) 评论(0) 推荐(0)

一个简单的运算符重载的类
摘要:#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... 阅读全文

posted @ 2005-05-10 10:20 hunter_gio 阅读(476) 评论(0) 推荐(0)

导航