Thread: Quest System
View Single Post
  #18  
Old 10-16-2004, 12:42 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Also,
Quote:
Originally Posted by Deimos
if($hppercent) and or if($hpamount)
could be easily written. I just came back from a party so I dont have the energy to go through it and write it, but its easily possible.
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote