Aug 12, 2012 at 4:31am
Instead of using a global variable and functions that modify it, make functions that take the list they are modifying as an argument.
Even better, make the functions part of the structure as member functions.
Aug 12, 2012 at 4:34am
@firedraco
thank u so much