Table: LanguageNotes
User: dreamable
Created at: 2022-03-31 09:57:59 UTC
Updated at: 2022-03-31 09:57:59 UTC
Reference:(Table ID 41, Record ID 2)

title :
size_t
note :
for(i=0;i<vector.size()-1;++i)

size_t is unsigned integer, so size()-1 is not -1. We should use i+1<vector.size() instead.

Tag:
C++