Functions in C++

Congratulations, you have completed three sections of the Progressive C++ cours:
  1. Basic
  2. Decision statements
  3. Loopings
Now, in this section, we'll learn how to make our programs bigger, more organized, and more useful by using functions.

Let's start saving our code for future reuse as C++ programmers.

When you start a new project, you will see that you have a lot of things ready, because you have programmed and saved several functions, which will do specific tasks on various systems that you will program.

Yes, understand the dancing of functions in C ++!

Function

  1. Function: What it is? How it works? How create and Use?
  2. RETURN command: getting information from functions
  3. Parameter and Argument - Sending data to the functions
  4. Functions prototypes
  5. Local, Global, Constante and Static variables
  6. Default arguments
  7. Reference parameters and variables
  8. Function overloading
  9. Recursive functions
    How to calculate GCD with recursion
  10. The exit() function
  11. How to generate random numbers in C++ (rand(), srand() and time() functions)
  12. Exercises about funtions in C++

No comments:

Post a Comment