title: error C4430 using OpenCV2.4.9 and Visual C++ 2010 Express
body: <p>I am new to this kind of programming but am really interested in computer vision.</p>
  
  <p>I have tried to follow this tutorial to but something must have changed between when this tutorial was made and when I tried following the instructions.</p>
  
  <p>Tutorial Link:  <a href="http://www.youtube.com/watch?v=cgo0UitHfp8" rel="nofollow">http://www.youtube.com/watch?v=cgo0UitHfp8</a>  </p>
  
  <p>I get this error log, but I'm not sure how to fix it or what the problem even is.</p>
  
  <p>------ Build started: Project: OpenCV_Project_001, Configuration: Debug Win32 ------</p>
  
  <p>Main.cpp
  c:\documents and settings\lord cluckulon\my documents\visual studio 2010\projects\opencv_project_001\opencv_project_001\main.cpp(7): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
  c:\documents and settings\lord cluckulon\my documents\visual studio 2010\projects\opencv_project_001\opencv_project_001\main.cpp(7): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</p>
  
  <p>========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========</p>
  
  <p>Here is the full code:</p>
  
  <pre><code> #include&lt;opencv\cv.h&gt;
   #include &lt;opencv\highgui.h&gt;
  
  using namespace cv; 
  
  
  init ;main()
  {
  
      //Create Matrix to store image
      Mat image;
      //initialize capture
  
      VideoCapture cap;
      cap.open(0);
  
      //create window to show image
      namedWindow("window",1);
  
      while(1)
      {
  
          //Copy webcam stream to image
  
          cap&gt;&gt;image;
  
          //print image to screen
          imshow("window",image);
  
          //delay 33ms
          waitKey(33);
  
      }
  
  
  
  
      return 0;
  }
  </code></pre>
  
  <p>What is this "error C4430" and how can I fix what it is doing to my little file thing?
  ( using OpenCV249, Windows XP SP3, MS Visual C++ 2010 Express) </p>