参见英文答案 >
Print address of virtual member function4个
当我尝试使用带有main函数的单个cpp文件时,这是有效的,
当我尝试使用带有main函数的单个cpp文件时,这是有效的,
sprintf(smem_options,"#transcode{vcodec=RV24}:smem{" "video-prerender-callback=%lld," "no-time-sync},",(long long int)(intptr_t)(void*)&cbVideoPrerender );
如何在类中将函数参数传递给sprintf?
sprintf(smem_options,(long long int)(intptr_t)(void*)&cbVideoPrerender );