|
Hence, good holydays, telepathic poster!
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
[my articles]
|
|
|
|
|
ByteCode?
OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus
Best wishes to Rexx[^]
|
|
|
|
|
|
I've always prefererd Mercedes-Benz or BMW...
|
|
|
|
|
oooh cars? I was about to reply, "I prefer Kalashnikov."
OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus
Best wishes to Rexx[^]
|
|
|
|
|
|
I prepared to this youtube vids. What do you think about it?http://www.youtube.com/watch?v=S-tNsmzJk1U[^]">[^]I translated to one line of the song's lyrics. This is right, isn't this?
The Loneliness Song!
If loneliness what has even been surround to my all sides.
If withoutness what has even been wrop to my all ways.
You stayed as onlooker a death so no it's time to..
Applaud! Now, it's time to dead without you.
Bitte tun Sie mir nicht antworten, wenn Sie nicht wissen, die Ursache des Problems wirklich oder nur als Antwort. Was ist das? Dies ist das Buch sitzen.
|
|
|
|
|
|
C'est pas bientot fini ce bordel oui ?
|
|
|
|
|
What is all that about tox? I am just curious.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
I was just saying in not really "to be listened" words : "Will you soon shut up ?"
|
|
|
|
|
Maxwell Chen
|
|
|
|
|
Okay, it's Turkish ...
Maxwell Chen
|
|
|
|
|
Chinese
life is like a box of chocolate,you never know what you r going to get.
|
|
|
|
|
William.Wang wrote: Chinese
I was asking the original poster ... in Chinese.
Maxwell Chen
|
|
|
|
|
Do you have any question?
|
|
|
|
|
Pace si prietenie între poporul român si poporul turc...
Florin Crisan
|
|
|
|
|
Please we lets type the threads in English language what become partner language in the world.
Bitte tun Sie mir nicht antworten, wenn Sie nicht wissen, die Ursache des Problems wirklich oder nur als Antwort. Was ist das? Dies ist das Buch sitzen.
|
|
|
|
|
Hey, it wasn't me who started it...
I just didn't want to miss the fun
Florin Crisan
|
|
|
|
|
Hello all,
When you have two classes and one of them inherits from the first one [CB inherits from CA], you can use functions in the parent class [CA] by setting them as virtual and protected or public from the child class [CB].
I would like to know if I can do the same with Windows messages.
What do I need is to be able to process the message in the parent class [CA] and not in the child class [CB] without calling the CA event:
I don't want to do this:
void CB::OnSize(UINT nType, int cx, int cy)<br />
{<br />
CA::OnSize(nType, cx, cy);<br />
}
Can this be automated?
As always thank you in advance.
|
|
|
|
|
Joan Murt wrote: When you have two classes and one of them inherits from the first one [CB inherits from CA], you can use functions in the parent class [CA] by setting them as virtual and protected or public from the child class [CB].
Well if your inherited class overrides base class virtual functions, the base ones will NOT be called implicitely.
Joan Murt wrote: I would like to know if I can do the same with Windows messages.
You have to do it explicitely.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
[my articles]
|
|
|
|
|
I've searched for that on the Internet and not found anything and thought to ask for it here but without a lot of hope...
Anyhow this is not a lot of job so it's OK.
Thank you CPallini.
|
|
|
|
|
Hello everyone,
I am wondering except when there is no memory on heap, are there any other situations when we will get bad_alloc exceptions? For example, invalid input of the size (e.g. very huge number or zero or negative number) will cause exception?
thanks in advance,
George
|
|
|
|
|
MSDN http://msdn2.microsoft.com/en-us/library/6512dwes(VS.71).aspx[^] is a bit laconic about, but seems to go on the way you depicted. BTW, Why don't you make a little test and tell us your findings?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
[my articles]
|
|
|
|
|
Hi CPallini,
It seems bad_alloc only occurs when there is no memory or not enough memory (as showed in the sample). And we can not input invalid value, like -1, compiler will fail. Do you agree with me?
BTW: what situations do you find you met with bad_alloc?
regards,
George
|
|
|
|