Please help me with my problem in algorithm coding.. the error says no matching function call .. i attach the picture in this thread hoping u help me :)
FRGT/10
0
Newbie Poster
Recommended Answers
Jump to PostYour function is defined as
int BinaryTree::getLeafCount(struct node *node) {
Notice the
node*
parameter...
But your call isb.getLeafCount();
Notice the lack of an argument...
Basically, because you didn't call it properly, you've unintentionally overloaded the function, but you don't have a …
All 4 Replies
Fbody
682
Posting Maven
Featured Poster
dospy
51
Junior Poster in Training
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
homeryansta
36
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.