摘要:        
先来看看链表的实现: MyList.hpp 代码:#ifndef __MYLIST__#define __MYLIST__#include using namespace std;templatestruct _Node{	_Node()	{ memset(&data, 0, sizeof(Ty...    阅读全文
posted @ 2014-12-08 18:42
boyang987
阅读(52)
评论(0)
推荐(0)
        
            
        
        
摘要:        
// OperatorRewrite1.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include using namespace std;enum style_enum{ zero, one, two, three };class CFraction{pri...    阅读全文
posted @ 2014-12-08 11:23
boyang987
阅读(359)
评论(0)
推荐(0)
        
            
        
        
摘要:        
std::cout<< var ,这个是如何识别变量的呢?主要用到函数 typeid();参考【typeid详解】http://www.cppblog.com/smagle/archive/2010/05/14/115286.html;    阅读全文
posted @ 2014-12-08 10:43
boyang987
阅读(80)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号