代码片段如下:
bool intersect(Route a,Route b) { if((a.north>b.north&&a.south>b.south)||(a.north<b.north&&a.south<b.south)) { return false; } else { return true; } }
报错如下:
25:1: error: expected ',' or ';' before '{' token { ^