I'm trying to write a that function takes a const char *
as a parameter, and I can't figure out how to pass this kind of data to a function in a useful way. If I have function:
void tokenize(const char * c) { }
And I want to call this function with a hardcoded value, say backslash, what is the best way to approach this? How do I turn a hardcoded value into a const char *
?