#include //指示编译器将文件iostream中的代码嵌入到该程序中该指令所在的地方
using namespace std;
#include //包含文件流头文件
#define BUFSIZE 50
class cGuestroom {
void FindTheGuestroom(); //查找客房
void FindTheGuestroomById(); //按照编号找客房
void FindTheGuestroomByType(); //按照类型找客房
void FindTheGuestroomByPrice(); //按照价格找客房
void DeleteTheGuestroom(); //删除客房
void AddTheGuestroom(); //客房添加
void ModifyTheGuestroom(); //修改客房
};
template //template:模板,样板
要看你的具体的完整的程序,你的代码显然不完整,include后面的看不到
template后面没有东西
main函数调用也没有。
函数如果只是被main调用,写main上面。