Small C / C++ function
Budget: $10 – $30 USD
Need a C / C++ function that will get a multi line string, for example:
wchar_t* s_970705769()
{
wchar_t* _970705769=new wchar_t[26];
_970705769[0x18] = L'j' + 017;
_970705769[0x3] = 0155 + 0x8;
_970705769[0x12] = 074 + 0x2a;
_970705769[0x6] = L'Z' + 012;
_970705769[0x15] = 0127 + 0x1e;
_970705769[0x5] = 101;
_970705769[0xf] = L'C' + 036;
_970705769[0x4] = L'C' + 057;
_970705769[0xd] = 0x6d - 0155;
_970705769[0xc] = 101;
_970705769[0x16] = 0113 + 0x2e;
_970705769[0x1] = 101;
_970705769[0xe] = 111;
_970705769[0x11] = 0135 + 0x14;
_970705769[0x8] = L'z' - 063;
_970705769[0x14] = 0117 + 0x1d;
_970705769[0x10] = L'w' - 07;
_970705769[0x7] = 32;
_970705769[0x2] = 072 + 0x29;
_970705769[0xa] = L'w' - 0x8;
_970705769[0x0] = 0104 + 0xf;
_970705769[0x17] = L';' + 067;
_970705769[0x13] = 0137 + 0x7;
_970705769[0x19] = 054 + 0x39;
_970705769[0x9] = 108;
_970705769[0xb] = 0x6c - 012;
_970705769[0x19] = '\0';
return _970705769;
}
and return the value that this function will return.
So the output is a single string (need to be UNICODE).
wchar_t *show_result(wchar_t *multiline_string)
Your work will be tested on Visual Studio for Windows.
wchar_t* s_970705769()
{
wchar_t* _970705769=new wchar_t[26];
_970705769[0x18] = L'j' + 017;
_970705769[0x3] = 0155 + 0x8;
_970705769[0x12] = 074 + 0x2a;
_970705769[0x6] = L'Z' + 012;
_970705769[0x15] = 0127 + 0x1e;
_970705769[0x5] = 101;
_970705769[0xf] = L'C' + 036;
_970705769[0x4] = L'C' + 057;
_970705769[0xd] = 0x6d - 0155;
_970705769[0xc] = 101;
_970705769[0x16] = 0113 + 0x2e;
_970705769[0x1] = 101;
_970705769[0xe] = 111;
_970705769[0x11] = 0135 + 0x14;
_970705769[0x8] = L'z' - 063;
_970705769[0x14] = 0117 + 0x1d;
_970705769[0x10] = L'w' - 07;
_970705769[0x7] = 32;
_970705769[0x2] = 072 + 0x29;
_970705769[0xa] = L'w' - 0x8;
_970705769[0x0] = 0104 + 0xf;
_970705769[0x17] = L';' + 067;
_970705769[0x13] = 0137 + 0x7;
_970705769[0x19] = 054 + 0x39;
_970705769[0x9] = 108;
_970705769[0xb] = 0x6c - 012;
_970705769[0x19] = '\0';
return _970705769;
}
and return the value that this function will return.
So the output is a single string (need to be UNICODE).
wchar_t *show_result(wchar_t *multiline_string)
Your work will be tested on Visual Studio for Windows.