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

📄 exceptions.cpp

📁 tracciatore di mani con webcam
💻 CPP
字号:
#include "Common.h"#include "Exceptions.h"#include <ostream>HVException::HVException(string msg){  m_msg = msg;}string HVException::GetMessage() const{  printf("%s\n", m_msg.c_str());  return m_msg;}ostream& HVException::output(ostream& os) const{  return os << m_msg;}ostream& operator<<(ostream& os, const HVException& ite) {  return ite.output(os);}HVEFile::HVEFile(string filename, string msg)  : HVException("error with file "+filename+":\n"+msg),    m_filename(filename){}HVEFileNotFound::HVEFileNotFound(string filename)  : HVEFile(filename, "could not find or open file"){}

⌨️ 快捷键说明

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