Initial commit

This commit is contained in:
jslightham
2023-05-21 23:28:11 -04:00
commit 0360e7dfcc
31 changed files with 2068 additions and 0 deletions

22
P1/VariableLinkedList.h Normal file
View File

@@ -0,0 +1,22 @@
#ifndef VARIABLELINKEDLIST_H
#define VARIABLELINKEDLIST_H
#include <iostream>
#include <functional>
#include "VariableNode.h"
class VariableLinkedList
{
public:
bool insert(std::string name, double value);
VariableNode *search(std::string name);
bool remove(std::string name);
VariableLinkedList(int cap);
~VariableLinkedList();
private:
VariableNode *head;
int count;
int maxCount;
};
#endif