This should be easy. I'm admitting my newness by posting which for most will be, I hope, a simple question.

I'm having trouble testing a string for equality.

Code:
double myfunc(const char* z) {
    const char* mystr = "Test";
    double retVal = 100;
    if ( z == mystr) retVal = retVal * 2;
    return retVal;
}
This comes back with 100 and I'm looking for 200. Can somebody spot the error?

Please don't make suggestions that involve changing the "const char* z" portion of line 1. I'm stuck with that.

Thanks

John