Hi, I've been working on this program but i keep getting a LNK2019 error
"Error 1 error LNK2019: unresolved external symbol "public: void __thiscall Packet::Transmit(void)" (?Transmit@Packet@@QAEXXZ) referenced in function _main"when trying to compile my code.
This only happens when I attempt to use the function transmit() to enqueue data into a queue. Here's my code for just the packet class. I've already tested my node and queue classes to make sure they worked.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#pragma once
#include "node.h"
#include "Queue.h"
class Packet
{
int incOddEven;
public:
Packet();
void Transmit(void);
void Recieve(Queue);
};