richelbilderbeek / correct_cpp_show_args

Correct C++ chapter 'show args'

Home Page:https://github.com/richelbilderbeek/correct_cpp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

correct_cpp_show_args

Branch Travis CI Codecov
master Build Status codecov.io

Correct C++ chapter 'Show CLI arguments'.

Goal

  • Display all command-line arguments using the STL

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_args Output Exit status
./show_args show_args (with newline) 0
./show_args hello show_args hello (with newline) 0
./show_args hello world show_args hello world (with newline) 0

External links

About

Correct C++ chapter 'show args'

https://github.com/richelbilderbeek/correct_cpp

License:GNU General Public License v3.0


Languages

Language:QMake 62.0%Language:Shell 26.2%Language:C++ 11.8%