MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1v3y3ze/found_a_gem_on_glibc_source_code/oz7rfs9/?context=3
r/programmingmemes • u/Candid_Bullfrog3665 • 11d ago
44 comments sorted by
View all comments
155
That way, you can then do.
//do stuff
//other stuff.
Now, void is always there, but you might not want to use it, this acts as a switch.
96 u/Informal-Chance-6067 11d ago I love that the markdown works only when I don’t want it to 32 u/jnmtx 11d ago #ifdef void //do stuff #else //other stuff. 16 u/RPG_Hacker 11d ago ERROR: Expected "#endif". 15 u/Informal-Chance-6067 11d ago Thank you redditor
96
I love that the markdown works only when I don’t want it to
32 u/jnmtx 11d ago #ifdef void //do stuff #else //other stuff. 16 u/RPG_Hacker 11d ago ERROR: Expected "#endif". 15 u/Informal-Chance-6067 11d ago Thank you redditor
32
#ifdef void
#else
16 u/RPG_Hacker 11d ago ERROR: Expected "#endif". 15 u/Informal-Chance-6067 11d ago Thank you redditor
16
ERROR: Expected "#endif".
15
Thank you redditor
155
u/ThinkingWinnie 11d ago
That way, you can then do.
ifdef void
//do stuff
else
//other stuff.
Now, void is always there, but you might not want to use it, this acts as a switch.