- Code: Select all
void changeText(string newtext){
}
This is my code, i want to use a string as a parameter, but when i use this in the global code it says
Unknown type 'string': possible old C type declaration
how do i use a string as a parameter?
Thank you