View Single Post
  #9  
Old 08-18-2006, 04:59 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

How is C cryptic?

I mean, I understand how in C++,
Code:
std::cout<<"OMGLOL"<<std::endl;
can look a little foreign at first, but, C is pretty straightforward.
__________________
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.

Last edited by Cisyouc; 08-18-2006 at 01:05 PM..
Reply With Quote