Interface (.hpp) versus implementation (.cpp) files (and why they exist) | Modern Cpp Series Ep. 36

Publicado el: 07 marzo 2022
en el canal de: Mike Shah
13,765
467

►Full C++ Series Playlist:    • The C++ Programming Language  
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel:    / @mikeshah  

►Lesson Description: In this lesson I discuss the difference between an interface (.h, .hxx, or .hpp) file in c++ versus an implementation file (.cpp or .cxx). Header files (.hpp) give you a high level overview of the programming interface you have in the library. The implementation file (.cpp) however, provides the implementation (i.e. the actual details and algorithms to get work done).

In this lesson, we also discuss header guards (So you can include files safely), what happens when you include a file too many times (multiple definition error), and the purpose of why we separate our code (make project more easy to manage, and to speed up compilation).

►YouTube Channel:    / mikeshah  
►Please like and subscribe to help the channel!


En esta página del sitio puede ver el video en línea Interface (.hpp) versus implementation (.cpp) files (and why they exist) | Modern Cpp Series Ep. 36 de Duración hora minuto segunda en buena calidad , que subió el usuario Mike Shah 07 marzo 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 13,765 veces y le gustó 467 a los espectadores. Disfruta viendo!