(int) (vector.size()) VS (vector.size())

Revision en1, by ___Tianzhu___, 2023-03-24 15:09:22

I recently faced an issue due the fact that I didn't placed an 'int' before the looping for a vector that was constructed. It works without (int) sometimes but this time It gave warnings. Can someone explain this behavior. Thankyou.


  Rev. Lang. By When Δ Comment
en1 English ___Tianzhu___ 2023-03-24 15:09:22 273 Initial revision (published)