Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
C++ Block Scope | Modern Cpp Series Ep. 12
Play lesson

The C++ Programming Language - C++ Block Scope | Modern Cpp Series Ep. 12

4.0 (5)
38 learners

What you'll learn

This course includes

  • 68.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Full Transcript

►Full C++ Series Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd8j-tlhYVPYgiIyXduu6m-L ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: https://www.youtube.com/channel/UCA64pZbN5Mz5NxC3SO4qpDg/join ►Lesson Description: In this lesson I teach you that the curly braces {}'s that we are using actually define the 'block scope' of our variables. Utilizing scope helps our machines be more efficient in how they allocate memory, but from a pragmatic perspective they allow us to reuse symbol (i.e. variable) names. In this lesson, you'll also learn that having 'no scope' is what creates a global variable, and they tend to NOT be good for design in our programs. ►YouTube Channel: https://www.youtube.com/c/MikeShah ►Please like and subscribe to help the channel!

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere