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

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

它輸出hello world,它有什麼不對嗎?我收到一個左值錯誤

+0

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

回答

5

這行你缺少一個=

if(pipe(pfd2) =-1){