Question #14367829

C++ exception handling?

Make pop member function throw an exception of type int when someone tries to pop element from an empty stack. Run a test in main(): pop from an empty stack, use try-catch block to handle...

2014-03-19 06:36:11

TELL US , if you have any answer

Sponsored ads

There is NEVER a problem, ONLY a challange!

The helpinganswers.com is a free-to-use knowledgebase.
  The helpinganswers.com was started on: 02.07.2010.
  It's free to register. Once you are a registered user, you can ask questions, or answer them.
  (Unless registration you can just answer the questions anonymously)
  Only english!!! Questions and answers in other languages will be deleted!!

Cheers: the PixelFighters

  Contact: support@helpinganswers.com

C'mon... follow us!

Made by, history, ect.