March 18th, 2024, 01:28 PM
Tom, you started a legendary thread, it's been around for two decades!
March 18th, 2024, 01:26 PM
Hi, sorry... I really don't get it. Isn't the purpose of queueType.h to contain the declarations and queueType.cpp to contain the implementation code?
I haven't touched C++ (especially templates)...
March 17th, 2024, 08:25 PM
But they are... aren't they? What do you mean?
[edit]
Also, why is this issue a problem when linking and not when compiling?
March 15th, 2024, 11:33 PM
Hi all,
This is the code that I have. I got this code and I need to work with it:
#include <iostream>
#include "queueType.h"
int main()
April 7th, 2013, 10:04 PM
Hi, I'm having a weird problem with templates. Here is the linker error that I'm getting (in bold):
% make clean && time make
rm -rf *o main
g++ -c -g generic-stack.cpp
g++ -c -g main.cpp
g++...