I need a tutorial for void

Apr 20, 2013 at 7:00pm
closed account (LAM21hU5)
Hello,

Does anybody know how to use void? I would be thankful if somebody can tell me. I have no time-the code needs to be ready until tomorrow morning. Plz someone tell me?
Apr 20, 2013 at 7:09pm
There are two uses of void:
1) A void function: a function that doesn't return anything -> http://www.learncpp.com/cpp-tutorial/14-a-first-look-at-functions/
2) A void pointer: a pointer that only holds an address, and doesn't have a type -> http://www.learncpp.com/cpp-tutorial/613-void-pointers/
Topic archived. No new replies allowed.