Word search: Difference between revisions

Content added Content deleted
No edit summary
m (→‎{{header|C++}}: increment cnt variable)
Line 203: Line 203:
std::random_shuffle( dictionary.begin(), dictionary.end() );
std::random_shuffle( dictionary.begin(), dictionary.end() );


} while( cnt < 100 );
} while( ++cnt < 100 );
}
}
std::vector<Word> used;
std::vector<Word> used;