0_0_37265748_31803.cpp: In function 'int main()': 0_0_37265748_31803.cpp:45:83: error: 'getfather' was not declared in this scope printf("Company %d is a part of company %d.\n", c, getfather(c)); ^