forgot to say I'm using Microsoft Visual 2010 C++ Express