-1
クラスで関数が表示されないのはなぜですか?エラーが発生しました。到達不能な関数fromクラス
class A
{
public:
void method()
{
pthread_t p;
pthread_create(&p, NULL, producent, NULL);
}
};
void * producent (void)
{
return (NULL);
}