title: 1>Project : error PRJ0003 : Error spawning 'rc.exe'
body: <p>1>Project : error PRJ0003 : Error spawning 'rc.exe'.. this is the error i get when i try to run this small practice program of reading and  writing files which i cant do because of the reason of me not being able to get the files to open correctly. i use microsoft visual c++ 2008 and i have used the file path to try to open the file as well and i cant can someone help?</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;fstream&gt;
  using namespace std;
  
  int main ()
  {
    ifstream infile;  
    ofstream myfile;
    int num;
    infile.open("example.txt");
      if(infile.fail())
      {
          cout &lt;&lt; "error" &lt;&lt; endl;
      }
    myfile.open ("example.txt");
      if(infile.fail())
          {
              cout &lt;&lt; "error" &lt;&lt; endl;
          }
    while(!infile.eof())
        {
            example &gt;&gt; num;
        }
    while(!myfile.eof())
        {
            example &lt;&lt; num;
        }
    infile.close();
    myfile.close();
    return 0;
  }
  </code></pre>