void NSIM :: Operations(){ for(int i = 0; i < NS.size(); i++){ thread temp(&SIM::selectInst, NS[i], DM ,i); <== this function creates the