/* Eric Knibbe, David Streng
*  CS 232
*  Project 3
*/

#ifndef PATH_H
#define PATH_H

#include <string>
#include <vector>
#include <stdlib.h>
#include <iostream>
#include <sys/types.h>
#include <dirent.h>
using namespace std;

/*	Path
*	Keeps track of where to look for commands.
*/
class Path
{
	protected:
		vector<string> pth;	//pth is a vector of strings to hold path
	public:
		Path();
		int find(const string& program) const;
		string getDirectory(int i) const;
};

#endif

