stick a few couts there,
Put inCrem++ after the if clause, and see what happens.
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
What you really have is this
if(inCrem == tgPlacers.size())
{
/* The ; at the end of your if is a NO-OP */
}
{
Anything = false;
break;
}
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953