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
#questThere is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doin


accept principal amount,rate of interest, & duration from the user. display interest amount and total amount

requiredrequiredrequiredrequiredrequiredrequiredrequiredrequired


C Program for SORTING # include stdio.h> void main() {           char a;           int *p;           int i,j,temp;           clrscr();           p=&i;

Assume that a Binary Search Tree is constructed by repeatedly inserting exact values in to the tree. Argue that the number of nodes examined in searching for a value in the tree is

What is Union? Intimately associated with the structure is the union which as well contains multiple members. Unlike a structure but the members of a union share the same stora

Problem: (a) What is the main advantage to using a data file? (b) What is meant by opening a data file? How is this accomplished? Illustrate your answer clearly with a sui

Can you think of a condition where your program would crash without attaining the breakball, which you set at the straining of main()? A: C++ let for dynamic initialization of g