pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)
[personal profile] pne

…when you're programming C and call a function that takes no parameters and forget the parentheses.

I had code something like mystream << myObject->GetAttribute; and the compiler complained that it didn't know what to do with this and asked me which overridden << operator it should use… of course, the one taking an tAttribute as its second argument!

Then I saw what was wrong and added the parentheses in GetAttribute(). Oopsie.

(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Profile

pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)
Philip Newton

June 2015

S M T W T F S
 12 3456
78910111213
14151617181920
2122232425 2627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Thursday, 1 January 2026 11:46
Powered by Dreamwidth Studios