char u[60] = "";
Form1::Box->Items->Add(u);
Form1::Box->Items->Add(String::Format(u);
-none of these are working...
for(int cO = 0;cO<cU;CO++) {
Form1::Box->Items->RemoveAt(0);
}
-it says cO is undeclared identifier??
![]() | Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years. Thanks, CNET Support |
for(int cO = 0;cO<cU;CO++) {
Form1::Box->Items->RemoveAt(0);
}
-it says cO is undeclared identifier??
Discussion is locked
char u[60] = "";
Form1::Box->Items->Add(u);
Form1::Box->Items->Add(String::Format(u);
-none of these are working...
char u[60] = "";
makes little sense to me as the type of array u is should already be defined when the array was allocated I'd think.
Does the Items accept a character array directly or do you have to cast it to an object type would be what I'd wonder about the second line.
For the third the parantheses aren't matched would be an error from my view.