|
That was pretty funny.
|
|
|
|
|
Yes,but only a little.Who mede the two words so simulated!
But I remain want someone would help me.
|
|
|
|
|
RegisterServiceProcess function is available only for 98 and me... do any one know the function equivalent to registerserviceprocess for using in win32 api applications ???
|
|
|
|
|
9x "services" and NT services are completely different animals. There are lots and lots of articles here and on MSDN about writing NT services.
|
|
|
|
|
What is the significance of operator new? why is it used sometimes instead of new operator?
|
|
|
|
|
If you get a good, new C++ book then you can find answers to the above questions (and to many others of the millions you posted before).
you can try to (m)alloc (ate) a bit amount of your money to buy a good C book too.
This can help you to delete some of the naive questions you're about to post and make us free to answer to other people.
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.
|
|
|
|
|
I think he is simply looking for answers to his homework assignments.
|
|
|
|
|
Hence he has a lot of homework!
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.
|
|
|
|
|
tom groezer wrote: What is the significance of operator new? why is it used sometimes instead of new operator?
Because both are not the same
|
|
|
|
|
Well I;m asking these questions after reading Scott Meyers. he intent is to get a better clarity. I'n sure u guys too went to school and asked questions before becoming what u r now . You can ignore if you do not want to answer.
|
|
|
|
|
tom groezer wrote: Well I;m asking these questions after reading Scott Meyers. he intent is to get a better clarity.
There are a lot of other good books...
Try to code a bit too.
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.
|
|
|
|
|
The new-operator allows you to do other things before or just after the allocation of the memory and before the call the the constructor.
You can for example use the new-operator to create ("new") objects in a different memory scope.
I have used this to work with my own memory manager located on stack.
codito ergo sum
|
|
|
|
|
If you're asking what the difference is between "operator new " and "the new operator", there is none. Just two ways of referring to the same thing.
|
|
|
|
|
I'm stuck!
Ive created and application using C++, openGL and SDL and now want to release it for use on windows.
Thing is I cant seem to find a simple way to do this. Ive been on MSDN which give tutorials on ClickOnce and Windows installer deployment but dont really understand what I want to do.
Could anyone tell me the or give me some pointers on what steps I should take so that I am able to get my program in a format which I can distribute to whoever I want?
Any help would be appreciated
kevin
|
|
|
|
|
Kevin Brydon wrote: Could anyone tell me the or give me some pointers on what steps I should take so that I am able to get my program in a format which I can distribute to whoever I want?
Go to the search field above
Type OpenGL into the field
Push the button Go!
|
|
|
|
|
how very witty
anyone else have any suggestions?
|
|
|
|
|
Does anyone know any way to get the selected item off of a CTreeCtrl on a different dialog? The only thing I have thought of is to save the index of the selected value to a database every time it changes.
Thanks
-- modified at 17:05 Friday 13th July, 2007
|
|
|
|
|
Can we discuss the design criteria for the usage of set_new_handler. Why is it used instead of using exceptions.
Also what is the implication os using the same at a class level.
|
|
|
|
|
tom groezer wrote: Can we discuss the design criteria for the usage of set_new_handler. Why is it used instead of using exceptions.
Because you cannot handle memory leaks with exceptions. When an app runs out of memory it's mostly due to memory leaks(1). By definition you cannot recover memory leaks. So the best thing to do is to just terminate the app via the new handler.
(1) only Java Swing apps run out memory inherently.
|
|
|
|
|
you would only use this if you're developing a debugger or some kind of diagnostic application use to monitor a process access to memory. other than this you don't need to worry about it!
Yours Truly, The One and Only!
|
|
|
|
|
How do I subscribe to comp.lang.C++.moderated in outlookexpress or in RSS reader? Also are there any good C++/VC++ admirable newsgroup to which one can subscribe to?
|
|
|
|
|
Try first the non-moderated comp.lang.c++
No subscription necessary, just post the same way as to any other newsgroup. Before posting read the C++ FAQ[^].
|
|
|
|
|
How can it be used form outlook or an rss reader?
|
|
|
|
|
tom groezer wrote: How can it be used form outlook or an rss reader?
Sorry, I don't use Outlook. Put the following line into your browser's address field and see what happens:
news://comp.lang.c++
|
|
|
|
|
tom groezer wrote: How can it be used form outlook
It can't, without a plugin of some sort. You can use OE, however.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|