You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
264 B

#include <iostream>
#include <cstring>
#include <cfrob.hpp>
const auto str = "Hello world."_frob;
int main()
{
char* str2 = strdup(str);
memfrob(str2, strlen(str));
std::cout << str << std::endl;
std::cout << str2 << std::endl;
free(str2);
return 0;
}