I'm currently learning c++, since I know everything about python, still, I'm learning python data structure too. In c++, I'm learning overloaded functions, everything looks great until I compile it, and there is a bunch of errors I never knew even existed. I watched all over my code, EVEN RE-WRITE IT and still, same error. No semicolons left out, I don't know what's the problem. I tried the same code in another website but then it worked. Here is the source code:
https://onlinegdb.com/2dF914tJB ; Please if you can help me I would really be grateful. Have a nice day :D