try and catch block not running in turbo c++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vins15jadhav
    New Member
    • Feb 2016
    • 2

    try and catch block not running in turbo c++

    try and catch block not running in C++ program through turbo c++ compiler. What to do?
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    When you say "not running" do you mean the code compiles OK but the try/catch is not working when the program runs?

    If "not running" means not compiling, then post your code. Also some compilers require you enable exceptions in order for code using exceptions to compile.

    Comment

    Working...