C++ でスタックのリストを作成したいのですが、コンパイラからいくつかのエラー メッセージが表示されます。
 #include <list>
    #include <stack>
    class cName
    {
        [...]
        list<stack> list_stack;
        [...]
    }
エラー:
error C2143: syntax error : missing ';' before '<'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2238: unexpected token(s) preceding ';'