|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: ...
>unsubscribe
sure thing buddy...
someone asked about linux...i have both win98 and redhat on my machine. i
like linux a lot. i tried using slackware...and failed miserably.
i have a quick question about C++ (i could just go look this up, but since
i'm already typing this...)
i'll put it generically as possible.
i saw this overloaded assignment-operator header and wasnt sure what it was
supposed to do:
Class_Type operator=(Class_Type &A) {
//...
}
wouldnt it be easier to have an lhs and rhs as parameters and copy one to
the other?
would you treat operator=() as an instance function and assign attribute
values of A to corresponding attributes of "this"?
i realize this isnt a game programming question per se, but i figured i
might be able to get an answer since most people here seem to have an
affinity for C++.
tia.
-Bill
=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once
To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html
|
|