dreamwaker

2010年3月20日

my Second

摘要: // 22222222.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <iostream>#include <string>#include <vector>using namespace std;class UseDefToken{public: int val; int type;// 0,1, 2, 3... 阅读全文

posted @ 2010-03-20 00:10 dreamwaker 阅读(176) 评论(0) 推荐(0)

2010年3月18日

my First

摘要: template<classT>classStack{public:Stack(intstack_size=30);~Stack();voidPush(Tvalue);TPop();TTop();boolIsEmpty();boolIsFull();voidClearStack();private:inttop;T*stack;intsize;};template<classT&... 阅读全文

posted @ 2010-03-18 23:16 dreamwaker 阅读(313) 评论(0) 推荐(0)