Jump to content

View more

Developer Blogs

4: Adsense

New bug to me

I actually managed to run into a kind of bug in C++ that's new to me. struct Base { void print(void) {} }; struct Derived : Base { void print(void) { Base:print(); } }; int main(int, char **) { Derived d; d.print(); return 0; } Here Derived::print() wants to call the Base::print() function as part of its implementation. Unfortunately,....

51 user(s) are online (in the past 60 minutes)

0 members, 48 guests, 0 anonymous users

Facebook (2), Google (1)