I'm writing in c++ and I'm trying to convert the object data into a char*. so I could write it into a file.
I used the following code for it
static_cast<unsigned char*>(object)
however I get for following error: Embedded C++ does not support the new cast syntax
How can I get around the issue and get the object data?
Thanks