I got a code. But it is not working
compilation error is - undefined symbol try , throw , catch.
I am using C++ compler version 3.0. Is this version not enough. Or any header file is to be included for exception handling. Please help me

Whose c++ compiler? Borland? Then you probably need a newer compiler because that one is pretty old and obsolete. You can download free several compilers, such as VC++ 2008 Express, Dev-C++ and Code::Blocks. Just google and you will find the links.

Can you tell me which compiler(version) is suitable for doing exception handling?

Can you tell me which compiler(version) is suitable for doing exception handling?

Have you ever read Ancient Dragon's post?
Use Code::Blocks IDE with MinGW compiler (the same as frozen Dev-C++ IDE used):
http://www.codeblocks.org/

Visual C++ Express also has some nice stuff to it...so it's worth looking at both that and Code::Blocks and seeing which you prefer to work with....also VC++ allows you to used managed C++.

P.S If the you have your solution please mark the thread as solved.

Chris

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.