[C++ Tutorial #10] Files, Includes, Namespaces, Pragma Once
One Definition Rule:
https://en.cppreference.com/w/cpp/language/definition
Include Directive:
https://docs.microsoft.com/en-us/cpp/preprocessor/hash-include-directive-c-cpp?view=vs-2019
VC++ Directories:
https://docs.microsoft.com/en-us/cpp/build/reference/vcpp-directories-property-page?view=vs-2019
Pragma Once:
https://docs.microsoft.com/en-us/cpp/preprocessor/once?view=vs-2019
I haven't talked about things like circular dependency (got too carried away talking about the practical basics of includes, header files, namespaces, pragma once, etc.
Let's go deeper later.
Tutorial Playlist:
https://youtube.com/playlist?list=PLWYGofN_jX5Apmb8pJUD8NN3KskHW2lcy
Repository:
https://github.com/RoundBearChoi/CPP_Tutorial_Projects
Any questions/comments? Join us on discord:
https://discord.gg/hAFTgcA
Intro: (0:00)
Header files(1:01)
Includes: (2:04)
Pragma Once: (4:27)
Namespaces: (6:05)
Outro: (9:02)
Social
twitter: https://twitter.com/roundbeargames
facebook: https://facebook.com/roundbeargames17
hive: @roundbeargames/posts
reddit: https://reddit.com/user/roundbeargames
linkedin: https://linkedin.com/in/jangwon-choi-15041a9a
Patreon:
https://patreon.com/roundbeargames
Channel Memberships:
https://youtube.com/roundbeargames/join