>>436何度もありがとうございます。まだこんなエラーが出てしまいます。
3_8.cpp:36: error: definition of implicitly-declared `stack::stack(const
stack&)'
3_8.cpp:36: error: declaration of `stack::stack(const stack&)' throws different

exceptions
3_8.cpp:5: error: than previous declaration `stack::stack(const stack&) throw
()'
PS:先生をかばっても仕方が無いのですが、「前の課題で作ったプログラムを書き換える」
という課題がほとんどのため、私の力不足が主な原因と思います。