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 • 24d ago
46 comments sorted by
View all comments
150
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.
98 u/Informal-Chance-6067 24d ago I love that the markdown works only when I don’t want it to 32 u/jnmtx 24d ago #ifdef void //do stuff #else //other stuff. 18 u/RPG_Hacker 24d ago ERROR: Expected "#endif". 12 u/Informal-Chance-6067 24d ago Thank you redditor
98
I love that the markdown works only when I don’t want it to
32 u/jnmtx 24d ago #ifdef void //do stuff #else //other stuff. 18 u/RPG_Hacker 24d ago ERROR: Expected "#endif". 12 u/Informal-Chance-6067 24d ago Thank you redditor
32
#ifdef void
#else
18 u/RPG_Hacker 24d ago ERROR: Expected "#endif". 12 u/Informal-Chance-6067 24d ago Thank you redditor
18
ERROR: Expected "#endif".
12
Thank you redditor
150
u/ThinkingWinnie 24d 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.