r/C_Programming • u/Yuki_pop • 27d ago
Could someone explain the practical differences between #pragma once and traditional include guards (#ifndef, #define, and #endif)?
81
Upvotes
r/C_Programming • u/Yuki_pop • 27d ago
View all comments
Show parent comment
-5
u/Feer_C9 27d ago
since when gcc supports pragma once? Last time I checked it didn't. Maybe I'm old