How to pass a string constant to a function

Status
Not open for further replies.

joeh100

Member
How to pass a string constant to a function?

EX:

void WriteStringConstant(rom char * StringConstant)
{

}

When I call the above function with WriteStringConstant("Test");
I get the following warning: Warning [2066] type qualifier mismatch in assignment.
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…