Comment on: 0 experience, getting into C++, really just not understanding why you'd want/need to use void
1 10 Jun 2016 00:45 u/Specter6 in v/programmingComment on: Is this a good sub for programming help?
"Over the last weeks I've been seeing buzzfeed doing" Yup, that's it, I'm done.
Although bioemerl answer is right, it's about void pointers, which are a special case in the usage of the
voidkeyword. Void pointers (void*) are a type of their own and have pretty much nothing to do with the keywordvoidin a function definition, even though they use the same word.voidis nothingvoid*is a pointer that can be cast to anything (int*,char*,Potato*, etc.)