Skip to content

swiftlyanerd/matrixmanip

Repository files navigation

                 _        _                         _       
 _ __ ___   __ _| |_ _ __(_)_  __ /\/\   __ _ _ __ (_)_ __  
| '_ ` _ \ / _` | __| '__| \ \/ //    \ / _` | '_ \| | '_ \ 
| | | | | | (_| | |_| |  | |>  </ /\/\ \ (_| | | | | | |_) |
|_| |_| |_|\__,_|\__|_|  |_/_/\_\/    \/\__,_|_| |_|_| .__/ 
                                                     |_|    2018
                                                     
Author: Cesar Amaral, Remi Leano
Asn#: Final Project
Status: In-Progress

Files:
- matrix.h: header file for the Matrix class, includes 
- mysavefile.txt: an example user save file
- readme.txt: This report on the sampler project
- main.cpp: the main loop file
- matrix.cpp: the implementation/definitions for the Matrix class

Extra Credit:
-See below

Program Purpose:
The program, matrixManip 2018, allows the user to process and save matrices to a txt file.

How to Use:
1. Install the source code into a directory and compile by typing: make
2. To run at the command line, type: ./matrixManip

Specifications Met:
##  Specification               File            Line#   Comment
--  -------------               ----            -----   -------
1.  No global variables
2.  Classes & objects           cinco.cpp       10
                                dictionary.cpp  10
3.  a. while loop               cinco.cpp       10
    b. for loop                 cinco.cpp       47
    c. if statement             cinco.cpp       12
4.  a. void function            dictionary.cpp  10
    b. non-void function        cinco.cpp       98
    c. pass-by-value function   dictionary.cpp  10
    d. pass by reference func   cinco.cpp       98
5.  overloaded function defn    cinco.cpp       150,212
6.  overloaded constructors     cinco.cpp       155,156
7.  vector type                 dictionary.cpp  8
8.  a. Read from file           dictionary.cpp  50      filename: dict.txt
    b. Write to file            cinco.cpp       120     filename: scores.txt
    c. Use of fail              N/A             --      example of missing spec
    d. Stream parameter         cinco.cpp       115     function: output()
9.  setw()                      cinco.cpp       125
10. setprecision()              cinco.cpp       126
11. Project report              README11.txt
12. Code compiles
13. Functions correctly
14. Meets documentation requirements

Extra credit:
1.  Graphics
2.  Recursive function call     dictionary.cpp  42      shows recursion
3.  Use of pointers
4.  Process a vector of class
    objects in a for-loop using 
    the size() function
5.  drawShape()
6.  sortXXX()
7.  Doxygen zip file
8.  creative features

                                                     

About

cs11 final

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages