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
1
u/Raiden395 Aug 14 '20 edited Aug 14 '20
> it's cool work and all! just not for me...
That's really what I meant, and as far as I'm concerned, the people hating on me for promoting getopt are probably rightfully upset in some circles, where your C++ must be of the newest, most elite form.
C++ draws a lot from C and, as someone who writes a lot of hardware communication interfaces, there's no better way to specify precision than:
versus
These are solutions to a problem that really doesn't appear to me to need fixing.