I think I can make this code bug-free, testable and portable.
But it's not clear where data is stored.
Relevant Skills and Experience
C++, STL.
Proposed Milestones
$5 CAD - Help you to define more clear task specification
$10 CAD - Task implementation
$5 CAD - Test-code implementation
$5 CAD - Project delivery
An execution environment (Windows, Linux, etc)?
Compiler (or c++ standard version)?