multithreading - Visual C++ vectors with class type -
i not know why expected ';' error. here code; made vector pthreadcodes static, still did not work out. idea pls?
vector<printstuff*> pthreadcodes; (int = 0; < (unsigned)strlen(str);i++){ printchar pstuff_char(str[i], random_delay_params::min_to_wait, random_delay_params::max_to_wait); pthreadcodes{ &pstuff_char };// here gives expected ';' }
Comments
Post a Comment