Might be just some forum formatting problem, but this:

#include <iostream>#include <string>
should be:

#include <iostream>
#include <string>
Furthermore, these header inclusions should come...