labs

c2cpp lab1: echocat

This assignment is worth 100 points total.

Please read this assignment carefully and follow the instructions EXACTLY.

Submission

Do NOT create any additional subdirectories. Modify the skeleton code already provided to you in the top level directory—the only new file in your submission should be your Makefile.

Ensure your Makefile builds your executable when you run make.

Please refer to the lab submission instruction for other requirements.

Make sure your code runs valgrind clean (without memory errors or leaks). You can run valgrind like this:

valgrind --leak-check=yes <your program>

Part 1: Writing a Makefile

Create a Makefile to build echocat.

Requirements

Part 2: Completing the echocat program

Implement the concat_args function, defined in echocat.cpp.

Requirements

Example usage

$ ./echocat super cali fragilistic expialidocious
supercalifragilisticexpialidocious

Good luck!


Last updated: 2023-05-23