After figuring out my past problem (no instance of an overloaded function), I've come across another problem.
[IMG]http://i.imgur.com/SvX1l.png[/IMG]
I've pinpointed the code where I know the error is originating from:
static int Decode_VL64(const std::string &data){
char* chars = (char*)data.c_str();
return Decode_VL64(data);
}
What I'm trying to do here is pull off:
char[] chars;
chars = data.toCharArray();
return Decode_vL64(chars);
As native C++ doesn't have a method like toCharArray() built in, I googled around for an alternative and found referencing my char array as a pointer worked. However, that error is thrown. Does anyone have any suggestions as to why the error is being thrown, and can anyone suggest an alternative?
I don't want to reverse my encoding function, but if need be, I will have to.