meow00
asked on
Comparing signed and unsigned values
Hi experts,
How do I get rid of the following warning ?
line 89 : for(int i=0; i< group_1.size(); i++)
[C++ Warning] Meow.cpp(89): W8012 Comparing signed and unsigned values
many thanks !
How do I get rid of the following warning ?
line 89 : for(int i=0; i< group_1.size(); i++)
[C++ Warning] Meow.cpp(89): W8012 Comparing signed and unsigned values
many thanks !
or for(int i=0; i< (int)group_1.size(); i++)
Or, really, know what the correct tyoe of group_1.size() is, and use that for your index...
What's group_1 ?
What's group_1 ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I feel somewhat cheated!
?