03:32duration 3 minutes 32 seconds
Command line arguments in C++
#include <iostream> int main(int argc, char** argv) { for (int n{0}; n <= argc; n += 1) { std::cout << argv[n] << '\n'; } return 0; }
11:08duration 11 minutes 8 seconds
Simplest C++ program
This video describes the simplest possible C++ program.