r/C_Programming • u/Yuki_pop • 28d ago
Could someone explain the practical differences between #pragma once and traditional include guards (#ifndef, #define, and #endif)?
83
Upvotes
r/C_Programming • u/Yuki_pop • 28d ago
View all comments
Show parent comment
2
u/WittyStick 28d ago
I've not tried, but you can use
_Pragmain a macro. Maybe