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

Правка en1, от -0.69, 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. Язык Кто Когда Δ Комментарий
en1 Английский -0.69 2023-03-24 15:09:22 273 Initial revision (published)