No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[COLOR=#000000]In the program of Figs. 11.3–11.5, Fig. 11.4 [/COLOR][COLOR=#cc0000]contains[/COLOR][COLOR=#000000] the [/COLOR][COLOR=#cc0000]comment[/COLOR][COLOR=#000000] "[/COLOR][COLOR=#000066]overloaded stream insertion operator; [/COLOR][COLOR=#cc0000]cannot[/COLOR][COLOR=#000066] be a member function if we would like to invoke it with [/COLOR][COLOR=#cc0000]cout[/COLOR][COLOR=#000066] << somePhoneNumber[/COLOR][COLOR=#000000];." Actually, the stream insertion operator [/COLOR][COLOR=#cc0000]could[/COLOR][COLOR=#000000] be a [/COLOR][COLOR=#000066]PhoneNumber[/COLOR][COLOR=#000000] [/COLOR][COLOR=#cc0000]class[/COLOR][COLOR=#000000] member function if we were willing to invoke it … |