Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~263 People Reached
About Me

A hopefully freshman!

Interests
General Programming, and Computer Graphics Programming in C/C++ & x86 Assembly.
PC Specs
Hp Compaq 610, Core 2 Duo T5870, 3 GB DDR2 800 MHZ, Intel GMA x3100,160 GB HDD. Windows 7 Ultimate.
Favorite Forums
Favorite Tags
Member Avatar for Gh.S

Hi, This is my first post in daniweb! I've two questions: First question: I'm currently studying about classes, and could get '=' overloading format: [CODE]​[COLOR="Red"]T&[/COLOR] T::operator =(const T& b);​[/CODE] Why we set it to return reference? what's the use? Why couldn't simply be: [CODE]​[COLOR="red"]void[/COLOR] T::operator =(const T& b);​[/CODE] I've used …

Member Avatar for Gh.S
0
263