void * p;The name of the blog comes from the world of software development. In the C, C++, and C# programming languages (and perhaps others), a void pointer is a variable containing an address in memory. The above line of code declares a void pointer named "p" that has not yet been set to an address. What is stored at the address is left unspecified and usually the void pointer is converted to be a pointer to a specific type (cast) before it is used. This construct gives the developer quite a bit of power, but as Uncle Ben said, "with great power, comes great responsibility". The developer can very easily shoot themselves in the foot with a void pointer, but when used carefully and in the right circumstances, one can accomplish wonderful things.
Monday, July 18, 2011
Void Pinter Meaning
Void Pinter Meaning :
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment