hackingcpp / comments

Comments regarding hackingcpp.com
0 stars 0 forks source link

cpp/lang/command_line_arguments #14

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

C++ Command Line Argument Processing | hacking C++

Short examples that show how to intercept and process command line arguments in C++.

https://hackingcpp.com/cpp/lang/command_line_arguments.html

sunshaoce commented 1 year ago

atoll should be long long. https://en.cppreference.com/w/c/string/byte/atoi

JohannJo commented 5 months ago

You repeated the word "const" on this line: int main (int const argc, char constconst* argv) {

JohannJo commented 5 months ago

Ah sorry the line was ok