Functions, References, Exceptions Strings & Namespaces

C++ 14    |    Beginner
  • 19 videos | 1h 37m 12s
  • Includes Assessment
  • Earns a Badge
Rating 4.3 of 51 users Rating 4.3 of 51 users (51)
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++ programs
    Implement exception handling in c++ programs
    Use nothrow new to suppress allocation exceptions in c++
  • Use the c++ string class
    Use the c++ wide string class
    Work 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 namespace
    Create an application that uses c++ functions, exceptions, and strings

IN THIS COURSE

  • 4m 6s
    In this video, you will learn how to define default arguments for a function in C++. FREE ACCESS
  • 4m 31s
    In this video, you will write an inline function in C++. FREE ACCESS
  • Locked
    3.  Overloaded Functions
    5m 17s
    In this video, you will learn how to write overloaded functions in C++. FREE ACCESS
  • Locked
    4.  Pointers as Function Arguments
    7m 37s
    In this video, learn how to pass pointers as arguments to functions in C++. FREE ACCESS
  • Locked
    5.  Using References
    4m 50s
    Find out how to use references in C++. FREE ACCESS
  • Locked
    6.  References as Function Arguments
    8m 14s
    In this video, you will learn how to use references as function arguments in C++. FREE ACCESS
  • Locked
    7.  References as Function Return Values
    6m 48s
    In this video, find out how to return references from functions in C++. FREE ACCESS
  • Locked
    8.  Using Asserts
    7m 3s
    Asserts can be used for troubleshooting in C++ programs. FREE ACCESS
  • Locked
    9.  Handling Exceptions
    4m 29s
    In this video, you will learn how to implement exception handling in C++ programs. FREE ACCESS
  • Locked
    10.  Suppressing Allocation Exceptions in C++
    4m 39s
    In this video, you will learn how to use nothrow new to suppress allocation exceptions in C++. FREE ACCESS
  • Locked
    11.  String Class (std:string)
    7m 11s
    In this video, you will learn how to use the C++ string class. FREE ACCESS
  • Locked
    12.  Wide String Class (std:wstring)
    4m 28s
    Find out how to use the C++ wide string class. FREE ACCESS
  • Locked
    13.  C-style Strings
    6m 18s
    Find out how to work with C++ style strings in C++. FREE ACCESS
  • Locked
    14.  Null Terminated Strings
    4m 59s
    Learn how to work with null-terminated strings in C++. FREE ACCESS
  • Locked
    15.  Declaring a Namespace
    3m 28s
    In this video, you will learn how to declare a namespace in C++. FREE ACCESS
  • Locked
    16.  Using a Namespace
    4m 9s
    In this video, you will use a namespace in C++. FREE ACCESS
  • Locked
    17.  Creating a Namespace Alias
    1m 46s
    To create a namespace alias in C++, use the "namespace" keyword followed by the original namespace name and the alias name. FREE ACCESS
  • Locked
    18.  The STD Namespace
    3m 44s
    In this video, find out how to create a C++ application using the standard namespace. FREE ACCESS
  • Locked
    19.  Exercise: Use C++ Functions, Exceptions, & Strings
    3m 35s
    Find 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.

YOU MIGHT ALSO LIKE

Rating 4.4 of 14 users Rating 4.4 of 14 users (14)
Rating 4.1 of 21 users Rating 4.1 of 21 users (21)
Rating 4.5 of 13 users Rating 4.5 of 13 users (13)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.6 of 11 users Rating 4.6 of 11 users (11)
Rating 4.4 of 34 users Rating 4.4 of 34 users (34)
Rating 4.5 of 453 users Rating 4.5 of 453 users (453)