Name | Modified | Size | Downloads / Week |
---|---|---|---|
README.txt | 2019-08-29 | 2.1 kB | |
TSContainer.zip | 2019-08-29 | 147.0 kB | |
Totals: 2 Items | 149.1 kB | 0 |
8/29/2019 For TSContainer.zip MD5 Checksum: B0C12D9EA555DEAD2EDD48CFC55A7650 SHA-1 Checksum: 8F09004D8A5001F7DDA4498764DD4076592969A8 SHA-256 Checksum: 329A363117EA957951FAED8B100E5C396E446645D3478FF071689571EE1D691F SHA-512 Checksum: 4C838C6EF5F22EBDF52792808E132A8E55E4AB22C7B7AA81683E56F79D4F525FE9772D508F779E1AFBF681E45069797425A44CE8AF883EFE2420922C1F3B680E Generated by MD5 & SHA Checksum Utility @ http://raylin.wordpress.com/downloads/md5-sha-1-checksum-utility TSContainer.zip contains the following: html directory with Doxigen webpage of TSContainer (select index.html) TSContainer.h testTSContainer.cpp program to test features of container streams with TSContainer TStudent.h TStudent class for objects stored in containers TStudent.cpp TStudent class body makefile in linux to make the TStudent.o, testTSContainer.o and a.out Data files used/produced by testTSContainer Primes.vector Primes.stack sl.txt map.txt 2d.data Output of Test Run.txt The latest test was run using g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0 To test TSContainer: Download TSContainer.zip and place it in the (empty) directory of your choice. Make that the current directory. Unzip (not gunzip) the archive (TSContainer.zip), and run make. Running the tests: After you have done make and while in the directory with all of the TSContainer files, just type a.out at the linux prompt. Tests consist of using TSContainer.h with vectors, lists, stacks, and maps. Various programming techniques have been used. Prime numbers are used in the first tests of vector and stack. A map is used to associate movie names and their ratings. There are two tests using TStudent objects, list and vector. You are requested to enter three students' information which are added to a list. The list is output to a file and then read into a student vector. The last part gives a small example of how one might deal with a container-in-container structure.