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
function returns
function returns
Oct 18, 2009 at 11:23am UTC
wachtn
(183)
Can you point me towards a tutorial on using function returns?
Thank you.
Oct 18, 2009 at 11:44am UTC
Bazzy
(6281)
Here is the tutorial on functions:
http://www.cplusplus.com/doc/tutorial/functions/
Oct 18, 2009 at 11:45am UTC
Mythios
(1058)
Do you mean a function that returns a value of its type. etc
1
2
3
4
int
Add(
int
numOne,
int
numTwo) {
return
numOne + numTwo; }
Oct 18, 2009 at 1:02pm UTC
wachtn
(183)
Yeah, I wanna know how to use the returned value.
Thanks Bazzy, thats exactly what I needed.
Last edited on
Oct 18, 2009 at 1:27pm UTC
Topic archived. No new replies allowed.