I'm trying the code mentioned here:
std::string base64_encode(unsigned char const* bytes_to_encode, unsigned int in_len) {
}
And pass: base64_encode("mystring", 8)
.
It shows a type conversion error:
error C2664: 'base64_encode' : cannot convert parameter 1 from 'const char [9]' to 'const unsigned char *
unsigned char const*
try just having it be achar*
– Zack Newsham