Functions? …

Photograph credit

Hey there, catching up on some WSQs, this is WSQ08 I believe and in this program we have to do the same as WSQ03 but with a twist. We have to add functions to the program. But what are functions and how do we use them? Well continue with the video to find out.

Ohh! but before that just let me mention my favorite page sources for finding out how to do stuff on c++

http://www.cplusplus.com/doc/tutorial/introduction/

http://www.tutorialspoint.com/cplusplus/cpp_templates.htm

Here is the code, the simple and complex respectively:

Functions.cpp

FunWithNumbers.cpp

 

CC BY-SA 4.0 Functions? … by Orlando Lara is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.