This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
using namespace std; | |
class CException{ | |
const string message; | |
public: | |
CException(const string & message): message(message) {} // string message sa vytvara pri vytvarani CException | |
friend ostream & operator << ( ostream & os, const CException & x ) | |
{ |