Windows c++ monkey-matcing