Skip to content

Instantly share code, notes, and snippets.

daisy 123
donald 345
goofy 654
mickey 593
minnie 489
daffy 432
pluto 765
huey 321
dewey 987
lewey 554
@rosonowski
rosonowski / client_driver.cpp
Created October 1, 2011 01:03
Overloading extraction
#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;
@rosonowski
rosonowski / client_driver.cpp
Created September 30, 2011 13:02
CS 132 Lab 4
#include "list.h" //templated linked list class, provided by professor.
#include <fstream>
#include <string>
#include <iostream>
using namespace std;
string getFileName(ifstream& inFile)
{
#include "list.h" //templated linked list class, provided by professor.
#include <fstream>
#include <string>
#include <iostream>
using namespace std;
string getFileName(ifstream& inFile)
{
#include "list.h" //templated linked list class, provided by professor.
#include <fstream>
#include <string>
#include <iostream>
using namespace std;
string getFileName(ifstream& inFile)
{
#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;
@rosonowski
rosonowski / array_v.h
Created September 23, 2011 13:00
CS 132 Lab2
//Class prototypes go here
#ifndef ARRAYI_H_
#define ARRAYI_H_
#include <iostream>
#include <cstdlib>
#include <cassert>
using namespace std;
template <typename BaseData>
@rosonowski
rosonowski / array_v.h
Created September 23, 2011 12:56
CS 132 Lab2
// 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.
// 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.