title: expected unqualified-id before '{' token c++
body: <p>I'm facing titled problem in my assignment at line 60. Please anyone help me as quick as possible.</p>
  
  <pre><code>59 void storeFile();
  60 {
  61 cout&lt;&lt; "All the data members are stored in file." &lt;&lt; endl;
  62 
  63 ofstream outFile;
  64 const char *outputFileName = ("record.txt");
  65 outFile.open(outputFileName, ios::out);
  66 
  67 if(!outFile)
  68 {
  69      cout&lt;&lt; "\nUnable to open the file." &lt;&lt; outputFileName &lt;&lt; endl;
  70      }
  71 
  72      else
  73          {
  74              outFile VUID; endl;
  75              outFile campusID; endl;
  76              outFile studentName; endl;
  77              outFile fatherName; endl;
  78                  }
  79 };
  </code></pre>
  
  <p>error: expected unqualified-id before '{' token c++ at line 60</p>