My apologies. I'm not a programmer, have never coded C++, all I've got to go on is this code. Thanks for the heads up :)