#include<iostream>
#include<cstdlib>
using namespace std;
template<class T>
class foo
{
public:
T a,b;
};
template<class T>
class bar:public foo<T>
{
public:
void show()
{
cout<<"Son";
}
};
int main()
{
bar<int> k;
k.show();
return 0;
}

Hubert's Coding Notes
Useful notes for CS people