Try strcpy(strAppName, "testing") from <cstring>.