grr, two seconds after I posted this I figured it out. I put a Queue constructor in my Steque.cc class and it worked. I'm not sure why, but it did. Thanks for the potential replies.
I'm writing a Steque class that will inherit from my Stack and Queue classes. When I try to link it, I'm getting this weird error, which I'm sure has something to do with trying to inheritance.
Queue.h
#include <iostream>
#include <cstddef>
#include <stdlib.h>
using namespace std...
I changed dp to a local and passed it into listit. Directores still aren't getting read though?
Maybe my understanding of what's going on is incorrect.
In my main method I have dirp = opendir(argv[1]);, which reads in a directory name from the command line and attempts to open the...
I'm very new to programming in c, and I'm trying to write a program that recursivley lists all the files in a directory, as well as all of the subdirectores and their files. I'm having some problems.
On my first go I was able to get all of the files of the current directory to be listed...