Quick probably obvious question.
If I have:
void print(string input) { cout << input << endl; }
How do I call it like
Not very technical answer but just letting you know.
For easy stuff like printing you can define a sort of function in your preprocessors like
#define print(x) cout << x << endl