On Tue, Nov 25, 2008 at 3:10 PM, crystalcat_75 <[EMAIL PROTECTED]> wrote: > Following program is showing an error while running in turbo c : > undefined symbol for "try" > statement missing after try .
Turbo C is an ancient compiler that predates the current C++ standard. This means that if you try to write standard C++, it will most likely not handle it. Get an up-to-date compiler, there are a lot around for free (g++, Visual C++ Express, etc.) Also try reading the standard, there are a couple of other problems with your code (non-standard header files, main should return an int, not void, etc). -- Tamas Marki
