How to count> Is true I do this programming?

```
{
int count;
count=0;
count++;
for ( int i = 0 ; i < students.size (); i++ )
{
for ( int k = 0;k<students.at(i).examcode.size(); k++ )
{
if (students.at (i).examcode.at(0)=0)
{
cout<<count++<< " ";
}
}
}
}
```