#ifndef LIST_H
#define LIST_H
#include <iostream>
typedef char Item;
class List{
public:
List()
{first = NULL; last = NULL;}
//~List()
void append(Item entry);
void remove_last();
void output();
private:
struct Node
{
Item data;
Node *next;
Node *back;
};
Node *first;
Node *last;
};
#endif
I'm writing a class file to store a doubly linked list. This file will not compile on unix. can anyone find any problem with it?
error message here:
csci>g++ -c list.h
quota_ufs: over hard disk limit (pid 20807, uid 202938, inum 1115162, fs /export/home)
list.h:33: fatal error: can't write PCH file: Disc quota exceeded
compilation terminated.
csci>