Re: Any C++ programmers here?
Long-time prg student.... but only w/ 1.5 years working w/ C++...
From what I can tell, it looks like (with whatever you're doing) you'll need to use "pointer math" (use a search engine to research the term). More to the point, you have to _first_ establish the address of the parameter. Also, since your passing a const parameter, you will likely have to do some copying of the parameter in yr recursive function even if it's only to cycle through one char at a time.
If recursion is required, then pointer math plays into that. In other words, your rec. func. should be re-setting the pointer to current address plus one. You will likely have a flag in this func. to find the end of the term.
For example, say you're passing the string "ballbasher" ( :-p ), you are first going to find the starting point of where that specific char array is located in memory i.e. where the first 'b' is stored in memory. If the function reaches the end of the term, then the flag should go "found it!" i.e. char == null character or '\0' ...or by however you are terminating the function. Otherwise, the rec. func. should keep going (and, in turn, cycling through the term one char at a time by increasing your variable address by one. Obviously, the function will call itself again if the term hasn't been exhausted yet.... or if the flag is missed!)
This should get you started at least...
By the way, websites such as cplusplus.com have good tutorials, so bookmark that site and use it!