

Unsure where
to begin?
Track
Certificate
Test image upload track
Beginner
c++
Boost your Tech Skills!
with up to 55% off
What you'll get with our subscription:
Access to 85+ top-rated courses
AI-driven Learning
Workspaces for practicing your skills
Personalized study tracks
Certificates of completion
Training 2 or more people?
Get your team access to Codefinity courses anytime, anywhere.
Try Codefinity TeamsWhat you will learn
- Gain proficiency in declaring, using, and optimizing functions for efficient C++ programming.
- Understand function arguments, including positional and default arguments, and passing them by value, pointer, or reference.
- Comprehend function return values, managing variable scopes, and using constant arguments and static and dynamic arrays.
- Develop skills in function overloading, recursion, and lambda functions to build modular and reusable C++ functions.
- 20 chapters
- 3 hours
- 15 tasks
Trusted by employees of leading companies
Learning track content
Module 1 / C++ Functions
Now it's time to dive into the world of C++ functions! Now you will learn some general concepts about functions in C++, including their definition, declaration, and usage. Discover how to declare and call functions, and gain insights into variable scopes, both local and global, for effective program design.
We will delve into specifying and using function arguments in C++ programming. Explore concepts like pass-by-value and pass-by-reference, and understand the role of default arguments; learn how to pass arrays as function arguments and become familiar with constant function arguments.
- Positional and Default ArgumentsPreview
- Passing Arguments by Value/Pointer/ReferencePreview
- Constant Function ArgumentsPreview
- Passing Static Array as an Argument of the FunctionPreview
- Passing Dynamic Array as an Argument of the FunctionPreview
- Why Do We Need Array Size as an Argument?Preview
- Passing Custom Structures as ArgumentsPreview
Now we will learn about how to specify the return value of a function in C++. This includes understanding the data types that functions can return, such as integers, floating-point numbers, and arrays. We will also consider function that have no return value.
Now let's delve into some additional topic in C++! We will explore function overloading, mastering the art of creating multiple functions with the same name but different parameter lists for enhanced code flexibility. Recursion is introduced, teaching the principles of recursive functions, allowing students to solve complex problems efficiently. Additionally, the section covers lambda functions, providing insights into creating concise anonymous functions/
Requirements
- A computer with a browser - all browsers are supported.
- Your enthusiasm to enhance your tech skills.
- Everything else needed to start learning and practicing is already included in this course.
Over 200,000 5-star ratings and counting
Ruslan Kravchuk
The main thing is to learn and not give up
The material is good, there is a lot to learn, all in order to become better and the main thing is to learn what you want....
Matteo Comune
Thanks to them I'm learning a lot…
Thanks to them I'm learning a lot faster because they help you to understand everything from scratch. It's the best website that helps people with no background in IT...
Yuliana Cadavid
great course for beginners
great course for beginners, they test your knowledge in every lesson...
Elpunzon
I am enjoying my Codefinity experience…
I am enjoying my Codefinity experience learning Python. The self-paced way of learning is great because I can fit it into my schedule...
Alexandru Alexandru
Is nice to learn from codefinity
Is nice to learn from codefinity. Its easy and have good examples on what I learned here...
jacob Templet
Easy to follow along with and provides…
Easy to follow along with and provides challenge in my every day life. The challenge keeps me wanting to learn day after day...
Elan
Codefinity is a comprehensive learning…
Codefinity is a comprehensive learning tool to help you develop your skills as a software engineer or data scientist. The exercises are fun and a good way to sharpen your skills...
Thibault
First time learning how to code
First time learning how to code and successfully doing so with codefinity - thank you...
Adrien Morel
Well designed for total beginners
Well designed for total beginners, incremental progress and makes me feel confident....
_Gracy
it's simply perfectly well explained
it's simply perfectly well explained! so far I have not experienced any difficulty because everything is so well managed...
Ruslan Kravchuk
The main thing is to learn and not give up
The material is good, there is a lot to learn, all in order to become better and the main thing is to learn what you want....
Matteo Comune
Thanks to them I'm learning a lot…
Thanks to them I'm learning a lot faster because they help you to understand everything from scratch. It's the best website that helps people with no background in IT...
Yuliana Cadavid
great course for beginners
great course for beginners, they test your knowledge in every lesson...
Elpunzon
I am enjoying my Codefinity experience…
I am enjoying my Codefinity experience learning Python. The self-paced way of learning is great because I can fit it into my schedule...
Alexandru Alexandru
Is nice to learn from codefinity
Is nice to learn from codefinity. Its easy and have good examples on what I learned here...
jacob Templet
Easy to follow along with and provides…
Easy to follow along with and provides challenge in my every day life. The challenge keeps me wanting to learn day after day...
Elan
Codefinity is a comprehensive learning…
Codefinity is a comprehensive learning tool to help you develop your skills as a software engineer or data scientist. The exercises are fun and a good way to sharpen your skills...
Thibault
First time learning how to code
First time learning how to code and successfully doing so with codefinity - thank you...
Adrien Morel
Well designed for total beginners
Well designed for total beginners, incremental progress and makes me feel confident....
_Gracy
it's simply perfectly well explained
it's simply perfectly well explained! so far I have not experienced any difficulty because everything is so well managed...
Data Engineer
Certificate of Completion
Showcase your newly acquired skills. You've earned it
Discover more
Learning tracks
Only for Ultimate
1 Course
1 Project
0 Task
Only for Ultimate
7 Courses
319 Tasks
Only for Ultimate
5 Courses
119 Tasks
Only for Ultimate
5 Courses
150 Tasks
Only for Ultimate
4 Courses
115 Tasks
Only for Ultimate
6 Courses
101 Tasks
Only for Ultimate
6 Courses
169 Tasks
Only for Ultimate
5 Courses
135 Tasks
Only for Ultimate
2 Courses
1 Project
57 Tasks
Only for Ultimate
6 Courses
307 Tasks
Only for Ultimate
4 Courses
143 Tasks
Only for Ultimate
5 Courses
170 Tasks
Only for Ultimate
5 Courses
155 Tasks
Only for Ultimate
6 Courses
282 Tasks
Only for Ultimate
6 Courses
226 Tasks
Only for Ultimate
8 Courses
2 Projects
176 Tasks
Only for Ultimate
2 Courses
80 Tasks
Only for Ultimate
7 Courses
293 Tasks
Only for Ultimate
1 Project
0 Task
Only for Ultimate
2 Courses
21 Tasks
Only for Ultimate
5 Courses
112 Tasks
Only for Ultimate
2 Courses
0 Task
Only for Ultimate
3 Courses
39 Tasks
Only for Ultimate
13 Courses
539 Tasks
Only for Ultimate
13 Courses
539 Tasks
Only for Ultimate
1 Course
0 Task
Only for Ultimate
0 Task
Only for Ultimate
5 Courses
143 Tasks
Only for Ultimate
3 Courses
79 Tasks
Only for Ultimate
7 Courses
272 Tasks
Only for Ultimate
5 Courses
213 Tasks
Only for Ultimate
3 Courses
104 Tasks
Only for Ultimate
2 Courses
19 Tasks
Only for Ultimate
3 Courses
119 Tasks
Only for Ultimate
3 Courses
75 Tasks
Only for Ultimate
3 Courses
31 Tasks
Only for Ultimate
2 Courses
151 Tasks
Only for Ultimate
3 Courses
49 Tasks
Only for Ultimate
2 Courses
1 Project
38 Tasks
Only for Ultimate
3 Courses
36 Tasks
Only for Ultimate
2 Courses
1 Project
38 Tasks
Learning tracks
track
TEST TRACK 12
Beginner
4.0
(6224)
track
Full Stack Web Development
Beginner
4.5
(57)
track
Become a React Developer
Intermediate
4.8
(5)
track
Mastering Data Visualization
Intermediate
4.6
(7)
track
SQL from Zero to Hero
Beginner
4.7
(91)
track
С++ Essentials
Beginner
4.4
(17)
track
Python from Zero to Hero
Beginner
4.7
(284)
track
Supervised Machine Learning
Intermediate
4.9
(7)
track
Python Beyond Intermediate
Beginner
5.0
(1)
track
Java Essentials
Beginner
4.3
(9)
track
Game Development with Unity
Beginner
4.6
(7)
track
Become a Django Developer
Advanced
4.4
(27)
track
Flask for Dummies
Intermediate
4.5
(31)
track
Frontend Development Foundations
Beginner
4.6
(52)
track
Web Developer from Zero to Hero
Beginner
4.6
(56)
track
Preparation for Data Science
Intermediate
4.5
(11)
track
Deep Learning Odyssey
Advanced
5.0
(3)
track
Web Development with C#
Beginner
4.8
(97)
track
TEST E2E TRACK BEGINNER
Beginner
track
Test Track
Begginer
4.7
(3)
track
Skilled Python BackEnd Developer
Advanced
4.7
(261)
track
Test Recalculate
Beginner
track
Excel Essentials
Beginner
4.5
(33)
track
Full-Stack .NET Developer Journey
Intermediate
4.8
(128)
track
Full-Stack .NET Developer Journey
Intermediate
4.8
(128)
track
Test track with rating
Advanced
4.0
(4)
track
TEST TEST TRACK
Beginner
track
Data Analyst Foundation
Beginner
4.7
(110)
track
C++ Mastery
Advanced
track
Java Web
Advanced
4.5
(30)
track
Become a QA Engineer
Beginner
4.5
(43)
track
Video Production with Adobe
Beginner
track
Digital Marketing Essentials
Beginner
track
UI/UX Design Tools
Beginner
track
Essential Office Skills
Beginner
4.6
(24)
track
GitHub from Zero to Hero
Beginner
track
No-Code Website Development
Beginner
track
C Programming & Low-Level Development
Beginner
track
testes
Beginner
4.7
(3)
track
Test translation track
Intermediate
track
Test CMS Track
Beginner
4.7
(3)
Become a Development expert
Interactive exercises
Learning videos
AI-assistant on all courses
Workspaces for designing your own projects
Ready to get started?
ProBest intro offer | UltimateA complete experience to kickstart your career | |
---|---|---|
85+ Top-Rated courses | ||
Completion certificates | ||
AI-Assistant in all courses | ||
20+ hands-on Real-world projects | ||
Personalized study tracks | ||
Unlimited workspaces | ||
Boost your Tech Skills!
with up to 55% off
What you'll get with our subscription:
Access to 85+ top-rated courses
AI-driven Learning
Workspaces for practicing your skills
Personalized study tracks
Certificates of completion
Training 2 or more people?
Get your team access to Codefinity courses anytime, anywhere.
Try Codefinity Teams