摘要:
expressions.hh 1 #ifndef EXPRESSIONS_HH 2 #define EXPRESSIONS_HH 3 4 #include "environment.hh" 5 #include 6 #include 7 #include 8 #include... 阅读全文
posted @ 2015-04-30 10:32
amdb
阅读(247)
评论(0)
推荐(0)
摘要:
expressions.hh 1 #ifndef EXPRESSIONS_HH 2 #define EXPRESSIONS_HH 3 4 #include "environment.hh" 5 #include 6 #include 7 #include 8 #include... 阅读全文
posted @ 2015-04-30 10:32
amdb
阅读(247)
评论(0)
推荐(0)
摘要:
heap.hh 1 #ifndef HEAP_HH 2 #define HEAP_HH 3 4 #include 5 #include 6 #include 7 8 using namespace std; 9 10 template class heap//模板类he... 阅读全文
posted @ 2015-04-30 10:30
amdb
阅读(185)
评论(0)
推荐(0)
摘要:
SparseVector.hh 1 class SparseVector 2 { 3 private: 4 //结构体不一定会用到,不用初始化 5 struct node 6 { 7 int index; 8 int value; 9 ... 阅读全文
posted @ 2015-04-30 10:28
amdb
阅读(369)
评论(0)
推荐(0)
摘要:
SparseVector.hh 1 class SparseVector 2 { 3 private: 4 //结构体不一定会用到,不用初始化 5 struct node 6 { 7 int index; 8 int value; 9 ... 阅读全文
posted @ 2015-04-30 10:22
amdb
阅读(273)
评论(0)
推荐(0)
摘要:
Matrix.hh 1 class Matrix 2 { 3 int row; 4 int col; 5 int *p; 6 void copy(const Matrix &m); 7 void clearup(); 8 public: 9 10 Ma... 阅读全文
posted @ 2015-04-30 10:20
amdb
阅读(293)
评论(0)
推荐(0)
摘要:
Matrix.hh 1 class Matrix 2 { 3 int row; 4 int col; 5 int *p; 6 public: 7 8 Matrix(); 9 Matrix(int x,int y);10 ~Matrix();11 12... 阅读全文
posted @ 2015-04-30 10:18
amdb
阅读(196)
评论(0)
推荐(0)
摘要:
lab1.cpp 1 #include "Point.hh" 2 #include 3 #include 4 5 using namespace std; 6 7 double computeArea(Point &a, Point &b, Point &c) 8 { 9 doubl... 阅读全文
posted @ 2015-04-30 10:16
amdb
阅读(282)
评论(0)
推荐(0)
|