⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 table.h

📁 自己写的选课系统,命令行下的...比较简陋...
💻 H
字号:
#ifndef _TABLE_H
#define _TABLE_H

#include "String.h"
#include "Grid.h"

class Table
{
public:
	Table(int nrow, int ncol);
	~Table();

	void SetRowTitle(const String* str);
	void SetColTitle(const String* str);
	void SetTable(Grid** aGr);
	void ShowTable(int page = 0);

private:
	int rowNum;
	int colNum;
	int* rowHeight;
	int* colWidth;
	int curRow;
	const String* rowTitle;
	const String* colTitle;
	Grid** gr;

	void DrawBottom();

//--------------------------------------
	Table(const Table&);
	Table& operator=(const Table&);
};

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -