2013-11-01 24 views
1
main(){ 

    helloworld(); 
} 
void helloworld(){ 
    cout<<"hellowowrld"; 
} 

它输出hello world,它有什么不对吗?我收到一个左值错误

+0

你忘了'^ M'最后一行之后。^ M – 2013-11-01 07:22:55

回答

5

这行你缺少一个=

if(pipe(pfd2) =-1){