char *tokens[buffer] where buffer is an int of some positive value.
The contents in the array will be some random information that has been read in from a previous getline.
What is the most efficient way to put the contents into something else and do a tolower to remove any caps.
Example:
tokens{23] contains the value "Capitol"
what it the quickest way to store "capitol" as a value I can use one time. It is ok to rewrite the variable each time as I will be looping thru the array. The tolower value does not have to be kept permanently.
Let me know if my question is not clear. Actual code is most helpful.
adding the headers corrected the issue and the conversion is working.
The item stored in the char * tokens is sucessfully converted to lower case and stored in a string.
I believe I have created another problem. The function that I have to send the info to wants a char * value like the original value. I cannot send the original value that is a char * because it could have capitol letters and the new value that is all lower case is a string.