ECE 2524

Introduction to Unix for Engineers

Simple but effective

Usage

The readme was very clear and straight forward. The Makefile did not work when I ran make. I believe that the command to make the object file is missing some flags, which causes the .o file to not be compiled. However I was able to compile manualy with

g++ -std=c++11 -o funlibs main.cpp

Once I compiled the program, it ran fine. The programs prompts were clear and easy to use. The only issue that I came across was a minor bug, which cause input with spaces to take the first word as the input for the current prompt, and the word after the space as the input for the following prompt.

Style

The code was not commented but it was extremely easy to follow what it was doing. As for the modularity, there really wasn’t any. The entirety of the program is in main(). Though the program is small, there could have been some separation of input parsing and data structure manipulation. It looks like the the developers sarted to separate out the data structure manipulation funtions into a separate header and cpp file, but none of the funtions in it get used in the main.

Philosophy

In terms of its usage, the program is fairly ‘Unixy’. The input prompts and output print what you would expect, and dont output any unnecesary text. As for its design, it does only one thing well as a whole, and is implemented in a simple straight forward way. However, as I said before there could have been a little more modularity in the code to separate the input handling from the data structure manipulation.