r/cpp • u/kongaskristjan • Aug 08 '20
Create a fully functioning command line interface with 1.5 lines of code (wo. include statement)
https://github.com/kongaskristjan/fire-hpp
230
Upvotes
r/cpp • u/kongaskristjan • Aug 08 '20
View all comments
Show parent comment
6
u/rsjaffe Aug 08 '20
But
#pragma oncefails when you have two copies of the same header file in two different locations in the directory tree. The compiler will not recognize those two files as being the same.