i've gotta get the line below the bold line to use 'Casual' functions, but it keeps saying *cp is undeclared in the line i've put in bold.
this was a line i was told to use a while back - i'm using polymorphism.
Tell me...where did you declare *cp? You can't create an object like that then immediately assign it. You need to declare *cp before you use it in anything (with the exception of initialization).