天天看點

error: expected primary-expression before 'int'

void G711::process(string connectIp, int connectPort)

{

Connect(connectIp,int connectPort);

send_file();

}

出錯原因:調用函數時,把定義 關鍵字 int 也寫到調用函數裡。