#include #include #include #include #include #include #include #include #include #include #include int main() { std::vector b(202,0); std::generate(b.begin(),b.end(),[](){return rand()&0xFF;}); std::cout<1) { printf("nattach=%d\n",t.num_attach()); return 0; } while(true) { printf("nattach=%d\n",t.num_attach()); sleep(1); } return 0; }