Skip to content
KnowledgeCity

C++: Working with Functions

Understand how to use functions in C++ programming
Preview the first lesson free — get full access to all 4 lessons.
Course: On-Demand
Beginner Provider Barbara Hecker  4 Lessons ·  23m  in English 

Course Description

Working with Functions

This course will cover what a function is, and how you can use them in your code. Functions are specific sections of code that only work when refered to, which will also explain refering to different sections within your code. From there, you will learn how one can overload a function, as well as the difference between a normal function and a recursive function. Finally, you will understand how to set up a function using function templates.

Learning Objectives

Skills

What You'll Learn

  • Use functions in your code and refer to specific sections of code
  • Differentiate between function types, including normal and recursive functions
  • Create functions using data types
  • Overload a function to extend its behavior
  • Set up functions using function templates

Key Takeaways

  • A function is a specific section of code that only runs when it is referred to.
  • Functions let you refer to and reuse different sections within your code.
  • A function can be overloaded, and a normal function differs from a recursive function.
  • Function templates provide a way to set up a function in C++.

Frequently Asked Questions

What does this C++ course cover?

It covers what a function is and how to use functions in your code, referring to different sections within your code, function overloading, the difference between a normal function and a recursive function, and how to set up a function using function templates.

What will I be able to do after taking this course?

You will be able to use functions in code, differentiate function types, and create functions using data types.

Which topics are taught in the lessons?

The lessons cover Functions, Function Overloading, Recursive Function, and Function Template.

What skills does this course focus on?

It focuses on C++ fundamentals and concepts, including referring to sections of code, creating concepts within code, function overloading, operators in C and C++, and C++14.