User profile: Slyde

User info
User name:Slyde
Name:Floyd
Location:Dallas
Bio:Pig farmer
History
Joined:
Number of posts:36
Latest posts:

Copy Constructor
[quote]What a copy constructor should do is create a copy of the state of an object such that the ne...

Copy Constructor
I wish I'd learned C++ back in the day. I started coding in '83 and never really got past pascal. ...

Copy Constructor
When I run this code, [code] #include <iostream> using namespace std; // declare a class cl...

Is there a better way?
Thanks again. After looking at how that works, I see what you're saying. [code] return (std::all_...

Is there a better way?
@Ganado - Nicely explained. I knew recursion was frowned upon, but I haven't used the stuff you sho...