Sponsored White Papers, Webcasts, and Downloads
TechRepublic Resources
- a simple question on c++
- can somebody can clear the use of copy constructor in c++. and if possible give a small and suitable example regarding the copy constructor.A copy constructor is used to create an instance from another instance, e.g.:MyClass A;MyClass B A;When B is instantiated, the following constructor is called:B (B const &...
- Tags: B, C++, constructor, copy constructor, Int, monukaushal@..., programming
- Q&A 2004-10-12
- << Previous
- page 1 of 1
- Next >>