Free
CourseLearn C++: Functions
Take your C++ skills to the next level by learning how to use using C++ functions to write more flexible, modular, reusable code.
This course includes
This course includes
Skill level
BeginnerTime to complete
Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary3 hoursProjects
1Prerequisites
1 courseWe suggest you complete the following courses before you get started with Learn C++: Functions:- Learn C++: Vectors
About this course
Continue your C++ learning journey with Learn C++: Functions. Learn about functions, a way to reuse the same blocks of code over and over throughout your program. Use your new functions knowledge to create multi-file programs that include header files.
Skills you'll gain
Write your own functions
Implement those functions
Understand scope
Syllabus
Functions
Use C++ functions to write more flexible, modular, reusable code.
Certificate of completion available with Plus or Pro
Earn a certificate of completion and showcase your accomplishment on your resume or LinkedIn.
Earn a certificate of completion
Show your network you've done the work by earning a certificate of completion for each course or path you finish.- Show proofReceive a certificate that demonstrates you've completed a course or path.
- Build a collectionThe more courses and paths you complete, the more certificates you collect.
- Share with your networkEasily add certificates of completion to your LinkedIn profile to share your accomplishments.
Reviews from learners
- The progress I have made since starting to use codecademy is immense! I can study for short periods or long periods at my own convenience - mostly late in the evenings.ChrisCodecademy Learner @ USA
- I felt like I learned months in a week. I love how Codecademy uses learning by practice and gives great challenges to help the learner to understand a new concept and subject.RodrigoCodecademy Learner @ UK
- Brilliant learning experience. Very interactive. Literally a game changer if you're learning on your own.John-AndrewCodecademy Learner @ USA
Our learners work at
Join over 50 million learners and start Learn C++: Functions today!
Looking for something else?
Related resources
- Article
Python Lambda Functions Explained (With Examples)
Learn what Python lambda functions are, their working, and use cases. Explore examples of lambda functions in Python and their practical use cases. - Article
Functional Programming in Python
An intro to functional programming in Python - Article
Overview of Conditionals, Functions, and Scope
Get started on conditionals, functions, and scope, which are all universal programming concepts.
Related courses and paths
- Continue your Swift journey by learning functions — reusable and callable code blocks!
- Beginner Friendly.2 hours
- Learn how to define scope, create reusable functions, and contain data types with structures in C.
- Beginner Friendly.4 hours
- Learn how to use built-in PHP functions to complete common (and some niche) tasks and create your own functions to reuse blocks of code.
- Beginner Friendly.3 hours
Browse more topics
- C++1,002,377 learners enrolled
- Computer science6,950,670 learners enrolled
- Code foundations8,459,177 learners enrolled
- Web development5,675,254 learners enrolled
- Data science5,268,232 learners enrolled
- Python4,259,294 learners enrolled
- For business4,059,853 learners enrolled
- JavaScript3,185,402 learners enrolled
- Data analytics3,163,732 learners enrolled
Unlock additional features with a paid plan
Practice Projects
Guided projects that help you solidify the skills and concepts you're learning.Assessments
Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.Certificate of Completion
Earn a document to prove you've completed a course or path that you can share with your network.







