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 :Code:for ( i = 0; i < m_vehicleVector.size(); i++ )
It's declares as a private data member in a class template RentalSystem.cpp.Code:vector<T> m_vehicleVector;
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?Code:RentalSystem <NewCar> Rental
Thanks in advance,
Chris