by wired for light
by wired for light

Hello…This are masteries 11 and 12. Today I’ll write about how to create a c++ function. In my opinion, when a code is too complicated, creating a function can be really really useful.

Here’s an example code where I created and called a function in my main:

https://github.com/mferflores/fibonacci/blob/master/function

See how I have my int made and another function too?

Here’s a poster made by me about this topic:

Functions c++

CC BY 4.0 Creating and calling C++ functions by Mferflores is licensed under a Creative Commons Attribution 4.0 International License.