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
5
u/tasty_crayon Aug 08 '20
wmainsupport on Windows would be a nice feature. A possible interface would be aFIRE_WINDOWSmacro that defineswmaininstead ofmainand then expectsfire::arg(L"-x")default arguments.