Thanks I'll take your word on it !!!!
Type: Posts; User: funnyguy
Thanks I'll take your word on it !!!!
As per The Complete reference C++ books, if we are planning to use an "user defined type" in an STL class like vector<MyType>, we need to atleast override the operator < () and operator == ().
1....
IMalc im not completely sure how compiler optimizes things, but i went by the book. i tried inheriting one more class from class der (say class der2: public der) and override func(), still didnt see...
Sorry for the typo errors.... as i pasted part of my code that i was testing.. hence forgot to do last minute checking.
hi all,
i'm new to C++ and i'm stuck at a very strange looking issue related to virtual functions of derived class.
I have code as below. During execution when putting breakpoint in last...