Home

Awesome

correct_cpp_show_args

BranchTravis CICodecov
masterBuild Statuscodecov.io

Correct C++ chapter 'Show CLI arguments'.

Goal

Prerequisites

Exercise

Write a command-line interface (CLI) program that displays all command-line arguments, seperated by spaces and followed by a newline.

Call to show_argsOutputExit status
./show_argsshow_args (with newline)0
./show_args helloshow_args hello (with newline)0
./show_args hello worldshow_args hello world (with newline)0

External links