String parameter for my method/function?
Posted: Sun Jun 19, 2011 12:34 am
- 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