Hello everyone,
I am new to this site and decently new to programming. I am working on a school assignment and keep getting the "cout is ambiguous" error whenever I try to use the cout method within one of the functions I created. The function takes an array pointer and sums up all the values, then returns the value. However, i want to put a cout statement in the function as well, but it won't let me. Please help.