我得到一个左值错误

use*_*711 1 c system-calls multiprocess

    main(){

     helloworld();
}
void helloworld(){
     cout<<"hellowowrld";
}
Run Code Online (Sandbox Code Playgroud)

它输出你好世界,它有什么问题?

tri*_*tan 5

这行你缺少一个=

 if(pipe(pfd2) =-1){
Run Code Online (Sandbox Code Playgroud)