小编ven*_*kat的帖子

警告:指针类型不兼容?

嗨,我得到以下警告请帮助我.

从不兼容的指针类型传递'pthread_create'的参数3

我的代码是:

int function(int *);
int main()
{
         pthread_t thread_a;
pthread_create(&thread_a,NULL, function,&connected);
int function(int *fnd)

            {
                int bytes_recieved;;
}
Run Code Online (Sandbox Code Playgroud)

c pthreads

2
推荐指数
1
解决办法
2449
查看次数

标签 统计

c ×1

pthreads ×1