View Single Post
  #2  
Old 08-04-2004, 01:46 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Call me psychic but I think your problem is grammar.

If you want help, you're going to have to tell us where you are stuck, and..if possible..tell us correctly.
__________________
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