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

📄 xerror.cpp

📁 《C++编程指南(续编)》的一些程序源代码
💻 CPP
字号:
#include <iostream>
#include <string>

#include "student.h"
#include "XError.h"
using namespace std;
void XError::display(ostream& out)const
{
	out<<"@"<<sLocation<<" , "<<sReason<<endl;
}
void XInvalidStudent::display(ostream& out)const
{
	XError::display(out);
	out<<"Student object = "<<(* pStudent)<<endl;
}
void XFileError::display(ostream& out)const
{
	XError::display(out);
	out<<"File = "<<sFileName<<endl;
}

⌨️ 快捷键说明

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