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

//D:\Microsoft Visual Studio\MyProjects\1\q.cpp(17) : error C2064: term does not evaluate to a function

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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-13
  • 2021-12-24
  • 2022-03-07
  • 2021-06-13
  • 2021-07-09
猜你喜欢
  • 2022-01-16
  • 2021-12-18
  • 2022-01-06
  • 2022-02-01
  • 2022-02-04
  • 2021-11-13
  • 2021-05-25
相关资源
相似解决方案