热门标签
更多>
搜索结果
查询Tags标签: passFunc,共有 2条记录-
C++ pass function as argument
void retrieveTime5(char *dtValue); void showTime6(); void passFunc(void(*funcName)());int main() {passFunc(&showTime6);return 0; }void passFunc(void(*funcName)()) {chrono::time_point<chrono::system_clock> startTime;chrono::time_point<chro…
2021/12/8 14:18:22 人评论 次浏览 -
C++ pass function as argument
void retrieveTime5(char *dtValue); void showTime6(); void passFunc(void(*funcName)());int main() {passFunc(&showTime6);return 0; }void passFunc(void(*funcName)()) {chrono::time_point<chrono::system_clock> startTime;chrono::time_point<chro…
2021/12/8 14:18:22 人评论 次浏览