Using C++ Builder 6
I have a form with a Tmemo object in which I can enter numbers (from 0 to 10 but thats irrelevant)
On_Click
Now I would like to loop through those numbers in the memo...
Type: Posts; User: Xentor
Using C++ Builder 6
I have a form with a Tmemo object in which I can enter numbers (from 0 to 10 but thats irrelevant)
On_Click
Now I would like to loop through those numbers in the memo...
Ive got an array lets call it even[];
now in even i have values but also some Zeroes. Now all id like to do is remove those Zeroes from the array.
Can someone give me a push into the right...
It does work???
for(int i = 0; i < teller; i++)
this->ListBox1->Items->Add(i);
adds the number from 0 to teller
still dunno where i went wrong.
Tnx a llot
For some reason the increment doesnt work, as it only adds one line. Namely where i<=n.
Iff i add them manually like add("a"); add("b") it works fine. But if i use the itterator to add each time it...
I think its a wrapper, but just tell me
how do i increment the listbox position so i can write multiple lines.
Id like to fill a listbox (BC++ 6) with the numbers 0 to n;
Its a graphical user interface and i cant seem to get it to work.
From what i figured out: ->Items->Add(i) adds a string i to the...
Aargh
I cant get a listbox filled with numbers from 0 to i;
the function (OnLCick)
for(n=0; i <= end; i++)
{
->Items->Add(i);
}