All, I'm pretty new to C++. My teacher gave us the assignment of creating a function that would do the following:
//addbig( ) -- This function is sent an array of integers and the length
//of the array.
//It returns the sum of all integers in the array that are larger than 1000.
Maybe because, English is my second language, but I don't really understand what he is asking here.
Also, when taking input from the user, I was using cin >> when the arrays would be made of characters. But I tried to use it to receive input from an array of integers and is not letting me do that. Do I have to do a conversion first?
If any of you could shed some light, it would be great.
file >> x;where x is an int and not a char. The stream is properly overloaded