printing a string
Hi,
I'm trying to print the string. What is that I'm missing?
This is my func :
void Screen1View::UpdateWildcardTexts(char* a)
{
Unicode::snprintf(textArea1Buffer,10,"%s",a);
textArea1.invalidate();
}This is how I test it :
void Screen1View::setupScreen()
{
Screen1ViewBase::setupScreen();
char a[16] = "string";
UpdateWildcardTexts(a);
}