Compiler Error: Unsigned vs Signed Integer Expression
RentalSystem.cpp:357: warning: comparison between signed and unsigned integer expressions
I have a number of these errors in basically the same situation. Line 357 is :
m_vehicleVector is declared as :
for ( i = 0; i < m_vehicleVector.size(); i++ )
It's declares as a private data member in a class template RentalSystem.cpp.
With NewCar being another class. Now I'm new to templates, so I'd imagine I'm doing something wrong with my templates, but I can't see it. Any ideas?
RentalSystem <NewCar> Rental
Thanks in advance,