If five and two are objects of type Account, this should not be a call to a copy constructor?
copy constructor being declared:Code:Account five(two);
am I wrong? it appears to be giving a segmentation fault at the call...Code:Account::Account(const Account & acct){
this does not help me much either:
Program received signal SIGSEGV, Segmentation fault.
0x420738c9 in free () from /lib/tls/libc.so.6



LinkBack URL
About LinkBacks


