[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
[LI] Some C++ doubts
Hi all
I have some doubts regarding C++. I am using DJGPP under Win95.
1)An error is encountered when constructor is involved in return
statement. e.g. following statement is not allowed
return(Vector ftemp(temp));
But following thing works.
Vector ftemp(temp);
return(temp);
2)It seems that I am not able to overload the . operator. Is it correct?
Please help.
Bye
Shridhar
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available. Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.