Moved Unsolved to it's own file

This commit is contained in:
2020-08-28 14:25:09 -04:00
parent 514afd1bd2
commit a797bb6718
2 changed files with 25 additions and 1 deletions

24
Headers/Unsolved.hpp Normal file
View File

@@ -0,0 +1,24 @@
//ProjectEuler/ProjectEulerCPP/headers/Unsolved.hpp
//Matthew Ellison
// Created: 08-28-20
//Modified: 08-28-20
//An exception class thrown if you try to access something before it has been solved
#ifndef UNSOLVED_HPP
#define UNSOLVED_HPP
#include <string>
class Unsolved{
private:
std::string message;
public:
Unsolved(){}
Unsolved(std::string message) : message(message){}
};
#endif //UNSOLVED_HPP