I think that looks right, but I don't know about part of it... I don't know what using std::cout does
Would that just output it to the screen, or would it somehow save it for later conversions?
I don't know if this would work... but...
Would that change it to binary and store it?PHP Code:
void PrintBinary(const char *pszString)
int length = std::strlen(pszString);
for (int position = 0; position < length; position++)
for (int i = 0; i <= std::UCHAR_MAX; i++)
pszString[position] = std::pow(2, i);
cout << std::endl;
And, if so, how do I reverse that?