User talk:SieQ: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:


Was that really an infinite loop?  CUtlVector manages the array so 1 is moved to 0 when the 0<sup>th</sup> is removed... I've seen it done in Source b4 also&mdash;'''[[User:Ts2do|ts2do]]''' 17:18, 19 Jan 2006 (PST)
Was that really an infinite loop?  CUtlVector manages the array so 1 is moved to 0 when the 0<sup>th</sup> is removed... I've seen it done in Source b4 also&mdash;'''[[User:Ts2do|ts2do]]''' 17:18, 19 Jan 2006 (PST)
:You just didn't remove any element of CUtlVector, so the while loop never finished.

Revision as of 03:09, 20 January 2006

Hi! Welcome to the VDC, and thanks for doing translation. —Maven (talk) 19:49, 6 Nov 2005 (PST)

Was that really an infinite loop? CUtlVector manages the array so 1 is moved to 0 when the 0th is removed... I've seen it done in Source b4 also—ts2do 17:18, 19 Jan 2006 (PST)

You just didn't remove any element of CUtlVector, so the while loop never finished.