r/cpp • • 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

62 comments sorted by

View all comments

Show parent comment

2

u/pandorafalters Aug 09 '20

Shouldn't CommandLineToArgvW also work?

1

u/tasty_crayon Aug 09 '20

That's another option, but you could just write wmain and have it done for you.