VoiDeD
public cpp v1 · immutable#include <string.h>#include <stdio.h>#include <iostream.h>using namespace std;class wtfhax { public :void slap(const char* string) { cout << "/me slaps " << string << " around a bit with a large trout."; }};int main() { cout << "Who should we slap today? "; string thing; getline(cin, thing); wtfhax omghax; omghax.slap(thing.c_str()); return 0;}