mirror of
https://bitbucket.org/Mattrixwv/projecteulercpp.git
synced 2025-12-07 01:23:57 -05:00
Changed directory name
This commit is contained in:
27
headers/Unsolved.hpp
Normal file
27
headers/Unsolved.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
//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){}
|
||||
std::string getMessage(){
|
||||
return message;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
#endif //UNSOLVED_HPP
|
||||
Reference in New Issue
Block a user