Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Plan9

Name: Anonymous 2008-08-07 16:56

I want to program for plan9, which language would suit me best?

Name: Anonymous 2008-08-12 20:17

#include <string>
#include <iostream>

using namespace std;

template <int i>
struct TrannyName
{
   static const string str;
};

template <int i>
const string TrannyName<i>::str = string("Ha") + TrannyName<i - 1>::str;

template <>
const string TrannyName<0>::str = "ruhi";

int
main(void)
{
   cout << TrannyName<3>::str << endl;
   return 0;
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List