I needed to convert the hexadecimal content of a pointer to a string. I already did that, using sprintf(). Now i need to do the opposite to get the pointer back. How would I go about this?
For example, I had this pointer: 0x55eb7e64b840. Then, i did this:
sprintf(str, "%p", p);
Now, str looks like this: "0x55eb7e64b840". From this string, can I get the pointer back?