title: Simple C++ Array search
body: <p>I am taking a C++ class this semester in school and was given a project where I have to write a program that asks the user for a number and stops when they enter 0 and then store the numbers into an array and then prompt the user to enter a number and search the array for that number, if it is a number stored in the array then I return "FOUND!" and if not I return "NOT FOUND!"
  I have to do the search through a function.</p>
  
  <p>I have everything done for the program except for the search function. I was told to research on the internet how to do this and apply it to my program, but the problem is in this class we were only taught how to use the while() loop and every search function I find seems to just go over my head since this is a very basic c++ class.</p>
  
  <p>Could anybody help me out?</p>