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
    UP NEXT
  • Playable
    2. 
    Using the auto Keyword
    9m 29s
  • Locked
    3. 
    Exploring Enumerated Types
    9m 48s
  • Locked
    4. 
    Accepting Single-word Input
    6m 6s
  • Locked
    5. 
    Experimenting with Accepting Input
    7m 43s
  • Locked
    6. 
    Exploring Finer Points of Accepting Input
    6m 6s
  • Locked
    7. 
    Formatting Data Using Utility Functions
    8m 28s
  • 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 of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.