const question when used in API
<p>I have a char * that is actually 10 digit string. I basically take that in my function and spit out a code. Now i have made a static lib that i will share with someone else...the question is ( i am using c++)</p>

<p>for the definition of that api that i will provide in my header 
do i just put const char * const or not. I am not sure if i need to do it or not. I just figured if they were going to use that API I did not want them to by mistake in their code send some bad pointer or value to my code. so to protect myself i am making it like i stated above is that the right approach? is that how one would use const?</p>
