Q:

Initialize a static structure

In 
A.hh
class A{    
private:
    static struct pollfd fds[2];
}

How should I initialize the structure in the A.cpp file?

A:

If pollfd contains two integer elements, you could do:
struct pollfd A::fds[2] = {{1, 2}, {3, 4}}; 

