posted @ 2010-09-06 10:03
随笔分类 - C/C++
摘要:Beginning PythonText Processing in PythonPython in a Nutshell, Second EditionPython for Unix and Linux System AdministrationLearning Python
阅读全文
摘要: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
摘要:#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
摘要:#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
摘要:c++写的选择排序, 冒泡排序
阅读全文
posted @ 2005-05-11 10:48
摘要:能完整写出这几个函数的越来越少了~~~~~
阅读全文
posted @ 2005-05-10 10:28
摘要:#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
浙公网安备 33010602011771号