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

Publicado em: 07 Março 2022
no 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!


Nesta página do site você pode assistir ao vídeo on-line Interface (.hpp) versus implementation (.cpp) files (and why they exist) | Modern Cpp Series Ep. 36 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Mike Shah 07 Março 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 13,765 vezes e gostou 467 espectadores. Boa visualização!