Got all 3 :thumb: It took some time for me as simultaneously solved some production issue for one of our client. Though solving this was fun than production problem
Yep its simple...
But may be it will became very costly as application grows
By making it simple we are forgetting some basic rules of OOP
"Don’t put members in class which are not related to it"...
But i am not agree on storing radio object in each derived car.
What if we want to derive some car from luxury car & want some diff. radio in that it...
You can take Radio* as parameter for Car's C'tor. while contrcting the Car object pass the Radio object & while constructing LuxuryCar pass SateliteRadio object.
You can refer the method of...
I think thats totaly diff. topic of discussion.
Its might create lots of problem if we are trying to define stabdard at binary level.
i am sure there lot of people on this forum will have diff...
The location of size information for allocated block is very implementation specific. It all depends upon the memory manager of the OS. On Windows it might be at start of allocated memory or Unix it...
SET is associative container it doesnt allow to change the value. the best way is delete the element & insert new one.
If you need to change the value ur container selection is wrong. Try to use...
I guess i late in game now :)
The sicussion went somewhere else than original post. though first i agree with Paul we need to find out how these timing taken.
Hi,
I have a ATL outproc server. i am taking a UDT from a client as in parameter.
HRESULT test([in]SomeUDT);
but when my client is calling this method in VB its getting byval error.
if i changed...
The way ur using ur variable for that u need to have ur DLL should be implicitaly link.
How r u linking ur DLL? Is it implicit linking?
See MSDN article here