SHARE
TWEET

Untitled

a guest Jan 8th, 2012 112 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <cmath>
  2. using namespace std;
  3.  
  4. class Nagyegesz
  5. {
  6. public:
  7.         unsigned u;
  8.         Nagyegesz(unsigned a) { u = a; };
  9.         Nagyegesz operator^(const Nagyegesz& masik)
  10.         {
  11.                 return pow(u, masik.u);
  12.         };
  13.         operator unsigned() { return u; };
  14. };
  15.  
  16. #define unsigned Nagyegesz
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top