错误笔记-----今天在敲代码的时候,出现了一个问题!

 if(x!=Father(x))         //这条代码-----其实我定义的是个数组,然而我却用错了括号【】我用了(),

//D:Microsoft Visual StudioMyProjects1q.cpp(17) : error C2064: term does not evaluate to a function

出现了这条信息..... 之后我将Father()-----》Father[]就好了!!,为防止以后再出现这样的错误,特将次单独笔记一下!!
 {
  Father[x]=findset(Father[x]);
 }
 return Father[x];

原文地址:https://www.cnblogs.com/gongxijun/p/3264406.html