Hey! When trying to compile the code for a ordered vector class I get the following error:
[Linker error] undefined reference to `WinMain@16'
Anyone have any idea what I might be doing wrong? I've been through this code multiple times and have no idea what would cause an error like this, I've never seen one like it before. Any help would be greatly appreciated.
The class is supposed to be able to create a sorted list of vectors of type Object. If an object is added to the list it places it in the proper order (ie you want to put in a 5 in the list 2 3 4 6, the 5 would be inserted between the 4 and 6)
Code is as follows: