ya ive still to try and use visual studio. well thanks a lot for all your advice, it really helped me out.
Type: Posts; User: donkeyass
ya ive still to try and use visual studio. well thanks a lot for all your advice, it really helped me out.
ooo, good advice about the temp thanks. i think i got it now, seemed to be something with my ide. it was telling me that i had invalid classes and they couldnt be found even though they were there, i...
ya i tried including it and not including it. this is what i have for the whole files...
linkedList.h
#ifndef linkedList_H
#define linkedList_H
#include<iostream>
#include "linkedQueue.h"
what the hell? i didnt do anything wrong lol. so far as i can see...
linkedList.h
class linkedList:public linkedQueue
{
public:
linkedList();
~linkedList();
ooooooooo wow, that would make a difference. thanks a lot
ya i suspected that (complete n00b if you couldnt tell already lol)
#ifndef linkedQueue_H
#define linkedQueue_H
#include<iostream>
using namespace std;
im trying to make a linked list that these functions can manipulate. so i have a list and addRear() adds to the rear, displayAll() shows everything in the list, etc.
struct Node
{
int elem;
Node *next;
};
and all im trying to do is print the int at rear->elem, but when i do it says
ok so i am trying to print an int that is in a point but it wont let me, this is what i have...
void linkedQueue::addRear(el_t newNum)
{
Node *rear;
Node *front;
...