school/cs235/exam1/node.h
2016-04-06 20:46:10 -07:00

20 lines
417 B
C++

//Derek McQuay 647465151 CS 235 Fall 2012 midterm 1
#ifndef __NODE_H__
#define __NODE_H__
#include <iostream>
using namespace std;
class node {
public:
node(const int, const int, const char, node*);
node(const int, const char, node*);
int exponent;
int coefficient;
char variable;
node* next;
friend ostream & operator<<(ostream & os, node n);
};
#endif