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.