What If I Don't Actually Like My Users?
Posted Apr 8, 2008 14:16 UTC (Tue) by
aya (guest, #19767)
In reply to:
What If I Don't Actually Like My Users? by pr1268
Parent article:
What If I Don't Actually Like My Users?
Ah, but you forget you're using an STL class.
size_t moonWalk(const vector<MyThingy>& stuff)
{
for (vector<MyThingy>::const_reverse_iterator i= stuff.rbegin();
i != stuff.rend();
++i)
{
/* do something with *i */
}
/* I don't get what you're returning, though. */
}
(
Log in to post comments)