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
A: Using the extern "C" linkage specification around the C function declarations. Programmers must know about mangled function names and type-safe linkages. After that they must


Define One's Complement Operator? The one's complement operator, occasionally called the "bitwise NOT" or "bitwise complement" operator produces the bitwise one's complement of

C Program for SWAPPING THE STRING #include conio.h> #include stdio.h> void main() {           char a[50],temp=0;           int i=0,c=0,c1=0,l=0;           clr

Program is to perform all the functions that are performed in a super bazaar: class stock   {   private:     int itno;     char itname[20];     char brname[20];


push and pop operation using array draw flowcharts

A parking garage charges a $2.00 minimum fee to park for up to three hours and an additional $0.50 per hour for each hour or part thereof over three hours. The maximum charge for a

write a c program that multiplies 3 martices

Produce data from fixed OCR areas scanned. Project Description: Project is to design software which can use character recognition only on certain areas of scanned puff's/ jpe