#include<iostream>
int main()
{
using std::cout;
int h = 0;
int w = 0;
for ( h < 8; h++ ) // warning: statement has no effect [-Wunused-value]
// error: expected ';' before ')' token
{
cout << "h=" << h << " w=" << w;
for ( w < 10; w++; ) // warning: statement has no effect [-Wunused-value]
{
cout << ", " << w;
}
cout << '\n';
}
return 0;
}