I have look for quite some time and can't find an explation as to what "VOID" means and what is does. Sorry for such a dumb question. Can anyone give a plane simple answer for this old man? Thanks, Carl
void by itself indicates nothing. Literally nothing.
void myFunction()
{
...
}
is a function which returns nothing.
When it's with a *, as in:
void *myPtr;
or
void *myFunction()
{
...
}
the "void *" represents a pointer to (memory address of) a variable (or function, or object, etc) in memory, but of an undefined type.