Fundamentals of C++: Using the auto Keyword, Enums, and I/O Streams

C++ 20    |    Beginner
  • 8 videos | 55m
  • Includes Assessment
  • Earns a Badge
C++ supports many different programming paradigms including object-oriented programming, functional programming, and template programming. As a result, the C++ type system is quite complex and it can get quite complicated to figure out the correct type for a variable Learn how to use the auto keyword to request that the compiler infer the type of a variable from its context. Discover how to use the typeid() function to get a type info object for every variable and to verify that the auto keyword has worked as intended. Next, explore enums and identify the differences between C-style and C++-style enums. Learn about input and output streams, in particular the cin and cout streams used in C++. Finally, discover how to use I/O manipulators to control the appearance of objects on these streams. After comleting this coures, you'll be able to utilize the auto keyword to infer the type of a variable and deploy IO manipulators to correctly format data on input and output streams.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    instruct C++ to infer the type of a variable
    create scoped and unscoped enums
    use cin to accept input from a user
  • use the cin stream, getline(), and get() to accept input from a user
    use the get () and ignore() functions to manage input
    use utility functions to manipulate data
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1.  Course Overview
    3m 8s
  • Playable
    2.  Using the auto Keyword
    9m 29s
    In this video, learn how to instruct C++ to infer the type of a variable. FREE ACCESS
  • Locked
    3.  Exploring Enumerated Types
    9m 48s
    Find out how to create scoped and unscoped enums. FREE ACCESS
  • Locked
    4.  Accepting Single-word Input
    6m 6s
    In this video, find out how to use cin to take input from a user. FREE ACCESS
  • Locked
    5.  Experimenting with Accepting Input
    7m 43s
    In this video, you will use the cin stream, getline(), and get() to accept input from a user. FREE ACCESS
  • Locked
    6.  Exploring Finer Points of Accepting Input
    6m 6s
    In this video, learn how to use the get() and ignore() functions to manage input. FREE ACCESS
  • Locked
    7.  Formatting Data Using Utility Functions
    8m 28s
    In this video, you will learn how to use utility functions to manipulate data. FREE ACCESS
  • Locked
    8.  Course Summary
    4m 12s

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.