CMPS-3350 Software Engineering
Lab-2
We will start this programming assignment together. 1. Log on to Odin server. 2. Change to your 3350/2 folder. 3. Follow along on the big-screen to start your program. Important elements of your code: Coding style ------------ K&R spacing, bracing, and indenting. Indentation style Code must not wrap on an 80-character width terminal. One statement per LOC, line-of-code. Consistent style is important. Style guide Put your function below the main() function. Code elements ------------- Write your own code in C++. Avoid using code you find online. Please do not use library elements such as the STL. You may use the string class. You are encouraged to use character arrays for strings. Commenting ---------- Single-line comments are good. Multi-line comment at top of file is ok. Compiling --------- A Makefile should be used to build your program. No compile warnings are allowed. The name of the executable file is not important. Optimization ------------ No optimization is needed in this program. No optimization should be done. Running the code ---------------- Output should be neat and clean. No words should be split at the end of a line. Apply word-wrap if you can. Words should not scroll the screen if possible. If no command-line arguments are found, show a Usage statement, and end. Your files will be collected at 9:50am -------------------------------------- 3350/2/lab2.cpp 3350/2/Makefile