operator = conversion problem

I keep getting the error message: Error 1 error C2679: binary '=' : no operator found which takes a right-hand operand of type 'Program *' (or there is no acceptable conversion)

on this line:
tempP = findProgram (programs, courseCode);

tempP is a pointer to Program and findProgram returns a pointer to Program

I tried using a copy a constructor and overloading the = operator, but neither have worked. please help!!

Thanks!!
Post some more code. Try finding the least amount of code that reproduces the error.
Topic archived. No new replies allowed.