LOL It turns out I got the error because I didn't have a driver program. :p
Type: Posts; User: ucs
LOL It turns out I got the error because I didn't have a driver program. :p
For sure, there's nothing wrong with LQueue.C and LQueue.h because I've tested those separately.
Simulation.C
#include <iostream> // istream, ostream, >>, <<
#include <cstdlib> // rand(), srand()
#include <ctime> //time()
using namespace std;
#include "Simulation.h"
Hi, any help will be much appreciated.
I'm compiling with the command:
g++ -Wall -o LQueue.C Simulation.C
The message I get is:
Undefined first referenced symbol in file main
Simulation.h