Problem with casting

thank you so much. I had actually done that before but i got alot of linker errors but I have now redone it and fixed the linker errors. I had declared the constructor but not put it in the .cpp file. Thanks so much, I’d been stuck for days :)))))