//class start--
//Global variable
static PMSK *savepr;
static PRC *prs;
//inside some method
static PMSK wkpm;
PMSK *pm;
if (ipf) {
    k = to_bits(312, &msk);     // This will return k=24 and msk =char(00000001),  
    if ( pm->orbits[k] & msk )  // See the answer of my previous question.
        prs[i].pccused = 1; 
}
For the to_bits method pls see the link
Explain the following C++ method
I am not familiar with C++ coding. What is goin on in the second if block? And explain the variable declarations also?
Thanks
 
     
     
     
    