|
From: <Wal...@va...> - 2002-04-22 15:04:33
|
I am getting these errors/warnings, need some help please.
Walt
(Embedded image moved to file: pic06617.pcx)
This in .cpp file:
#include <iostream.h>
#include <stdlib.h>
#include <ctype.h>
#include "Temp.h"
void ShowCommands ();
int main ()
{
char command;
Queue<int>q;
queueElement item;
This is in the Temp.h file:
#include <iostream.h>
#include <stdlib.h>
#ifndef QUEUE
#define QUEUE
const int MAX=401;
int i;
template <class queueElement>
class Queue
{
private:
queueElement myArray[MAX];
int myFront;
int myBack;
public:
friend ostream& operator << (ostream&,
Queue<queueElement> &);
Queue(){myFront=0;myBack=0;};
bool empty();
void addQ(queueElement);
queueElement front();
void removeQ();
bool full();
};
#endif //end of class queu
"This e-mail message is intended only for the use of the named
recipient(s).
The information contained therein may be confidential or privileged, and
its
disclosure or reproduction is strictly prohibited. If you are not the named
recipient, please return it immediately to its sender at the above address
and destroy it."
|