school/cs235/exam1/node.h

20 lines
417 B
C
Raw Normal View History

2016-04-06 20:46:10 -07:00
//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