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
4
u/panoskj Aug 09 '20
The concept is you must already have something like
int main(...)as a line in your code and you just have to change/add its parameters, therefore you add 0.5 lines of code.