This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
daisy 123 | |
donald 345 | |
goofy 654 | |
mickey 593 | |
minnie 489 | |
daffy 432 | |
pluto 765 | |
huey 321 | |
dewey 987 | |
lewey 554 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "list.h" | |
//templated linked list class, provided by professor. | |
#include "empdata.h" | |
//defines a struct containing sting empName and int empID | |
// as well as overloaded insertion and extraction operators | |
#include <fstream> | |
#include <string> | |
#include <iostream> | |
using namespace std; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "list.h" //templated linked list class, provided by professor. | |
#include <fstream> | |
#include <string> | |
#include <iostream> | |
using namespace std; | |
string getFileName(ifstream& inFile) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "list.h" //templated linked list class, provided by professor. | |
#include <fstream> | |
#include <string> | |
#include <iostream> | |
using namespace std; | |
string getFileName(ifstream& inFile) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "list.h" //templated linked list class, provided by professor. | |
#include <fstream> | |
#include <string> | |
#include <iostream> | |
using namespace std; | |
string getFileName(ifstream& inFile) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "list.h" //templated linked list class, provided by professor. | |
#include <fstream> | |
#include <string> | |
using namespace std; | |
string getFileName() | |
{ | |
string fileName; | |
cout << "Enter the file path and name."; | |
cin >> fileName; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Class prototypes go here | |
#ifndef ARRAYI_H_ | |
#define ARRAYI_H_ | |
#include <iostream> | |
#include <cstdlib> | |
#include <cassert> | |
using namespace std; | |
template <typename BaseData> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FileName : array_v.h | |
// programmer bj streller and general folklore | |
// PURPOSE : Provides an extended definition of an Array ADT. | |
// We assume IndexType is a finite collection of consecutively | |
// enumerated values such as integers, characters, or enum values, | |
// and that BaseData is any type. | |
// Bounds checking via the assert macro is also done. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FileName : array_v.h | |
// programmer bj streller and general folklore | |
// PURPOSE : Provides an extended definition of an Array ADT. | |
// We assume IndexType is a finite collection of consecutively | |
// enumerated values such as integers, characters, or enum values, | |
// and that BaseData is any type. | |
// Bounds checking via the assert macro is also done. |