Select Git revision
higher-math-1.c
templates-03.cpp 190 B
#include <iostream>
using std::cout;
using std::endl;
template <typename t>
void print (t x)
{
cout << x << endl;
}
int main ()
{
print (42);
print ("Hello, world!");
return 0;
}