is throwing exception from a constructor not a good practice ?
Answer Posted / dps
ya its better i think because it will take less memory and
less time
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What do you mean by function pointer?
What is a list c++?
You want to link a c++ program to c functions. How would you do it?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
How does a copy constructor differs from an overloaded assignment operator?
What are friend classes? What are advantages of using friend classes?
Explain selection sorting. Also write an example.
Is map sorted c++?
Is python better than c++?
How can you create a virtual copy constructor?
What is a static member?
Can java be faster than c++?
What is istream c++?
What is std namespace in c++?
Is there finally in c++?