?? npoint.h
字號:
// NPoint.h
// -------------------------------------------------------------------------
// NPoint is a class for representing a set of N-dimensional points
//
class NPoint {
public:
NPoint();
NPoint(int d);
NPoint(const NPoint& p);
~NPoint();
void show();
void show(FILE* fp);
void set_value(int d, float v);
float& operator[] (int d) { return coord[d]; }
int get_dim() { return dim; }
private:
int dim;
float* coord;
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -