Hi,
I have a function that gives me a string reference:
and within there I need to call a function that takes a void pointer:Code:int funcA (string &s) { ...}
is there any way to convert the string reference to a void pointer?Code:int funcB(void *v) { ...}
basically I want to call something like this (pass in the address of s)
Code:int result = funcB( &s );