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

C++    |    Beginner
  • 8 videos | 55m
  • Includes Assessment
  • Earns a Badge
Rating 4.5 of 24 users Rating 4.5 of 24 users (24)
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

  • 3m 8s
  • 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
    edc9998c-2340-4b1b-add8-792a890b4696 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 3.9 of 46 users Rating 3.9 of 46 users (46)
Rating 4.5 of 6 users Rating 4.5 of 6 users (6)
Rating 4.5 of 8 users Rating 4.5 of 8 users (8)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.6 of 436 users Rating 4.6 of 436 users (436)
Rating 4.2 of 111 users Rating 4.2 of 111 users (111)
Rating 4.5 of 4941 users Rating 4.5 of 4941 users (4941)