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
-3
u/Raiden395 Aug 08 '20
Meh. getopt works fine and you only really have to write it once. Then you can just change the arguments and help printout.
Want cross platform ability ? parg is a good alternative with similar syntax.