超ド級の無能教官だな
とりあえず
template <class X, class Y>
class stack {
X stck[SIZE];
Y stck[SIZE];
...
};
ってな感じになるんだろうが、激しく使いづらいなw