Roundbeargames | [C++ Tutorial #23] Macros - GameDev Prep Course @Roundbeargames | Uploaded December 2020 | Updated October 2024, 1 hour ago.
Let's not get confused by define, ifdef, ifndef, else, or endif.
"A macro is a fragment of code which has been given a name. Whenever the name is used, it is replaced by the contents of the macro."
gcc.gnu.org/onlinedocs/cpp/Macros.html
Tutorial Playlist:
youtube.com/playlist?list=PLWYGofN_jX5Apmb8pJUD8NN3KskHW2lcy
Repository:
github.com/RoundBearChoi/CPP_Tutorial_Projects
Any questions/comments? Join us on discord:
discord.gg/hAFTgcA
#define: (0:00)
#ifdef: (1:25)
#ifndef: (2:37)
outro: (4:08)
Social
twitter: twitter.com/roundbeargames
facebook: facebook.com/roundbeargames17
hive: peakd.com/@roundbeargames/posts
linkedin: linkedin.com/in/jangwon-choi-15041a9a
Patreon:
patreon.com/roundbeargames
Channel Memberships:
youtube.com/roundbeargames/join
#gamedev
Let's not get confused by define, ifdef, ifndef, else, or endif.
"A macro is a fragment of code which has been given a name. Whenever the name is used, it is replaced by the contents of the macro."
gcc.gnu.org/onlinedocs/cpp/Macros.html
Tutorial Playlist:
youtube.com/playlist?list=PLWYGofN_jX5Apmb8pJUD8NN3KskHW2lcy
Repository:
github.com/RoundBearChoi/CPP_Tutorial_Projects
Any questions/comments? Join us on discord:
discord.gg/hAFTgcA
#define: (0:00)
#ifdef: (1:25)
#ifndef: (2:37)
outro: (4:08)
Social
twitter: twitter.com/roundbeargames
facebook: facebook.com/roundbeargames17
hive: peakd.com/@roundbeargames/posts
linkedin: linkedin.com/in/jangwon-choi-15041a9a
Patreon:
patreon.com/roundbeargames
Channel Memberships:
youtube.com/roundbeargames/join
#gamedev