Functions, References, Exceptions Strings & Namespaces
C++ 14
| Beginner
- 19 videos | 1h 37m 12s
- Includes Assessment
- Earns a Badge
A function is a group of statements that performs a specific task, and may or may not return a value after execution. Explore the basics of creating custom functions, using strings, handling exceptions, and including namespaces in C++.
WHAT YOU WILL LEARN
-
define default arguments for a function in C++write an inline function in C++write overloaded functions in C++pass pointers as arguments to functions in C++use references in C++use references as function arguments in C++use references as function return values in C++use asserts for troubleshooting in C++ programsimplement exception handling in C++ programsuse nothrow new to suppress allocation exceptions in C++
-
use the C++ string classuse the C++ wide string classwork with C-style string in C++work with null terminated strings in C++declare a namespace in C++use a namespace in C++create a namespace alias in C++create a C++ application using the std namespacecreate an application that uses C++ functions, exceptions, and strings
IN THIS COURSE
-
4m 6sIn this video, you will learn how to define default arguments for a function in C++. FREE ACCESS
-
4m 31sIn this video, you will write an inline function in C++. FREE ACCESS
-
5m 17sIn this video, you will learn how to write overloaded functions in C++. FREE ACCESS
-
7m 37sIn this video, learn how to pass pointers as arguments to functions in C++. FREE ACCESS
-
4m 50sFind out how to use references in C++. FREE ACCESS
-
8m 14sIn this video, you will learn how to use references as function arguments in C++. FREE ACCESS
-
6m 48sIn this video, find out how to return references from functions in C++. FREE ACCESS
-
7m 3sAsserts can be used for troubleshooting in C++ programs. FREE ACCESS
-
4m 29sIn this video, you will learn how to implement exception handling in C++ programs. FREE ACCESS
-
4m 39sIn this video, you will learn how to use nothrow new to suppress allocation exceptions in C++. FREE ACCESS
-
7m 11sIn this video, you will learn how to use the C++ string class. FREE ACCESS
-
4m 28sFind out how to use the C++ wide string class. FREE ACCESS
-
6m 18sFind out how to work with C++ style strings in C++. FREE ACCESS
-
4m 59sLearn how to work with null-terminated strings in C++. FREE ACCESS
-
3m 28sIn this video, you will learn how to declare a namespace in C++. FREE ACCESS
-
4m 9sIn this video, you will use a namespace in C++. FREE ACCESS
-
1m 46sTo create a namespace alias in C++, use the "namespace" keyword followed by the original namespace name and the alias name. FREE ACCESS
-
3m 44sIn this video, find out how to create a C++ application using the standard namespace. FREE ACCESS
-
3m 35sFind out how to create an application that uses C++ functions, exceptions, and strings. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.