In this video I explain what C++ command line arguments are and how you can easily process them either manually or using a library such as Abseil Flags.
I will talk about parsing them manually either using standard C++ string manipulation functions or using regular expressions and std::regex.
Also, I will show how to define flags and get their values using Abseil library. Finally I will show how you can use Abseil Flags library with the user-defined types.
Link to repo for sample codes in the video and many other ones: https://github.com/ourarash/cpp_tour
Video on how to build your code with Abseil: • C++ starter repo for Bazel & Visual Studio...
Let me know if you have any questions in the comments!
-----------------------------------------------------
See my other videos on:
How to use Google Benchmark for C++ Programs: • How to use Google Benchmark for C++ programs
Bazel and unit tests with GTest: • Bazel & Google Test in Visual Studio Code
Debugging in Visual Studio Code for C++: • Debugging C++ in Visual Studio Code using ...
Visual Studio Code, Top Features: • Visual Studio Code Top Features 2020
-----------------------------------------------------
Keep in touch with me:
/ ourarash
/ ourarash
I'm the founder of BitcoinCrazyness app, the Most Advanced Cryptocurrency mobile APP for alerts, Check it out:
http://www.bitcoincrazyness.com/