|
Prev: Lesson 3: Integer Assignments, Signed to Unsigned with Mixed Sizes.
Next: Lesson 4, Integer Assignments, Unsigned to Signed with Mixed Sizes (4 spectacular range detection failures)
From: sridevisaran on 12 Apr 2008 04:45 what is use of pointer,link list,trees.volatile pointer. volatile what purpose use. i need static function,callback,inline example.
From: Ian Collins on 12 Apr 2008 04:51 sridevisaran(a)gmail.com wrote: > what is use of pointer,link list,trees.volatile pointer. > > volatile what purpose use. > i need static function,callback,inline example. > > Have you asked Mr. Google? He might even be able to give you some hints on posting ton Usenet. -- Ian Collins.
From: Richard Heathfield on 12 Apr 2008 05:02 sridevisaran(a)gmail.com said: > what is use of pointer,link list,trees.volatile pointer. If you don't know what they are, they are of no use whatsoever. If you do know what they are, you will also know at least one use for them. So I suggest that your first step is to find out what they are. For information on pointers and volatile, consult your C or C++ book (you don't specify which language you're using). For information on linked lists and trees, your C book may again be of help but, failing that, it's all in Knuth. > volatile what purpose use. > i need static function,callback,inline example. Then *write* one. It will teach you a lot more than just begging for one. We'll help if you get stuck, but you're not stuck yet. -- Richard Heathfield <http://www.cpax.org.uk> Email: -http://www. +rjh@ Google users: <http://www.cpax.org.uk/prg/writings/googly.php> "Usenet is a strange place" - dmr 29 July 1999
From: osmium on 12 Apr 2008 09:44 <sridevisaran(a)gmail.com> wrote: > what is use of pointer,link list,trees.volatile pointer. A linked list can be used where the number of future records can not be guessed at very well and slow (serial) subsequent access can be tolerated. Pointers make it possible to produce a linked list. For volatile pointers put this target into Google: "volatile pointer". The first several hits are relevant and useful. I wasn't able to find useful information at your level for trees. The answers I found are heavily polluted with variants of trees and the intricacies of working with them. Think of the game "twenty questions" and how a tree might be used to guess one number in a million by the use of binary trees. That might or might not be helpful. That's why they have courses in algorithms, to teach this kind of thing. > volatile what purpose use. > i need static function,callback,inline example.
From: Anand Hariharan on 12 Apr 2008 23:23
On Sat, 12 Apr 2008 06:44:00 -0700, osmium wrote: > <sridevisaran(a)gmail.com> wrote: > >> what is use of pointer,link list,trees.volatile pointer. > > A linked list can be used where the number of future records can not be > guessed at very well and slow (serial) subsequent access can be > tolerated. That would be a good description for any dynamically allocated container, not necessarily a link list. I guess one could refine your description to say "... where the _location_of_ future records _within_the_context_of_existing_records_ cannot be guessed at very well ..." -- ROT-13 email address to reply |