cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
I need a tutorial for void
I need a tutorial for void
Apr 20, 2013 at 7:00pm UTC
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 UTC
Fransje
(435)
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.