Click here to Skip to main content
15,891,633 members
Articles / Programming Languages / C++17

C++ - Lightweight Parsing Command Line Arguments

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
19 Sep 2020CPOL4 min read 32.3K   11  
In this tip, I want to represent a quick lightweight possibility (one of many) for parsing command line arguments on the fly using C++17.
A quick way of parsing command line arguments in modern C++-17 for non-production without using third party header files / libraries. For real world projects, a third party approach is more encouraged.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Austria Austria
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions