Error handling and constructor, C/C++ Programming

Provide me the answer, Can a constructor throws an exception? How to handle the error when the constructor fails?

Posted Date: 2/12/2013 6:27:28 AM | Location : United States





The constructor never throws an error.

Posted by Alice | Posted Date: 2/12/2013 6:29:31 AM


Related Discussions:- Error handling and constructor, Assignment Help, Ask Question on Error handling and constructor, Get Answer, Expert's Help, Error handling and constructor Discussions

Write discussion on Error handling and constructor
Your posts are moderated
Related Questions
exemples of many to many


Write a c++ program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points c

Develop a Motion sensor in Altera control Project Description: I want a project written in c using Altera eclipse development tool, that controls a motion sensor ( SRF05 ) fr

The program will consist of two text fields, two buttons, and a counter label.  One text field will be input, where the user types the plain text.  The second text field will be ou

i havea a small C++ i need help with. should not be anything special for an experienced programmer

A: This will turn o_ "name mangling" for func so that one can connect to code compiled by a C compiler.

real time application of b tree

Write a program to act as an electronic safe. If the correct code has been entered the program should display "Safe Open".  If an incorrect code is input it should display "Alarm"

Default Value Functions,  When declaring a function we can specify a default value for each parameter. This value will be used if that parameter is left blank when calling to the f