thanks for your help, its been useful
I still need to learn c++ as object oriented programming is new to me
As for my application, it does what is needed thats why Ive moved onto improving it