First, there is no such thing as a static
class in c++. remove it.
Now after you defined the class (don't forget ; at the end of the class)
class Client {
public:
bool var;
void func (int i);
};
You need to create an array (or vector or anything)
Client clients[10];
then, you can use it like this:
for (int i=0; i<10; i++) {
clients[i].var = false;
}
Or:
for (int i=0; i<10; i++) {
clients[i].func (i);
}