title: cvSaveImage was not declared in this scope?
body: <p>My code worked perfectly for months until today. Its in C++</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;cv.h&gt;
  #include &lt;highgui.h&gt;
  #include &lt;stdio.h&gt;
  
  using namespace std;
  
  int main()
  {
  IplImage* img = cvLoadImage("C:/Users/Amadeus/Documents/H1/cat.png");
  
  int result=cvSaveImage("C:/Users/Amadeus/Documents/H1/cat.png",img); &lt;----- Problem
  
  return 0;
  }
  </code></pre>
  
  <p>It keeps saying "cvSaveImage was not declared in this scope". Files that would compile perfectly before all say it now. I don't understand why it worked for many months and today it says it wasn't declared. I even opened files that I knew worked for sure and even those didn't. It's like the header files are corrupt or something? What do you think?</p>