title: expected unqualified-id before ‘{’ token error
body: <pre><code>#include &lt;iostream&gt;
  #include "proj1.h"
  using namespace std;
  
  //Deciphers a message. cip[] is a char array containing a Cipher message                                                            
  //as a null-term.                                                                                                                   
  void Decipher(char Cip[], char key);
  {
    char intCip[];
    char intMessage[];
    char cipher[];
    int intKey = key - 'A';
    for( int i = 0; i &lt; strlen(Cip); i++)
      {
        if(Cip[i] &gt;= 'A' &amp;&amp; Cip[i] &lt;= 'Z')
          {
            intCip[i] = key - Cip[i];
          }
      }
    for( int i = 0; i &lt; strlen(Cip); i++)
      {
        Cip[i] = (intCip[i] + (intKey % 26));
      }
  }
  
  char SolveCipher(const char Cip[], char dec[]);
  {
    return 0;
  }
  
  int main()
  {
    Decipher (ciper[0], 'R');
    return 0;
  }
  </code></pre>
  
  <p>I get this error message when I try to make the .exe</p>
  
  <pre><code>g++ -Wall proj1.cpp -o program
  proj1.cpp:8: error: expected unqualified-id before ‘{’ token
  make: *** [program] Error 1
  </code></pre>
  
  <p>What does this mean? I can't see what I would need before the '{' since that starts the function definition.</p>