Search:
Forum
Windows Programming
Listview
Listview
Oct 1, 2014 at 8:14pm UTC
yaaz32
(30)
How does one calculate all values in a listview using a for loop?
Oct 1, 2014 at 8:53pm UTC
yaaz32
(30)
int sum = 0;
for each (auto item in listVotes->Items)
{
for each (auto col in item->SubItems)
{
sum += Int32::Parse(col->Text);
}
}
I'm using this but it gives me an error by subitems
Registered users can post here.
Sign in or register
to post.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs