Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- class EccezioneOutOfRange {
- private:
- string messaggio;
- public:
- EccezioneOutOfRange() : messaggio("il valore dell'indice specificato non appartiene all'intervallo [0,Nelem]!") {}
- const string what() const {return messaggio;}
- };
Advertisement
Add Comment
Please, Sign In to add comment