title: More than one storage class Specified
body: <p>I was trying to create two different methods for storing data at the beginning before int main. I had an unordered map and just a regular map. I got the error, more than one storage class specified..</p>
  
  <p>I was just wondering why C++ doesn't allow that?</p>
  
  <pre><code>typedef struct dictionary{ 
   std::string word; 
  unsigned char hash[20]; 
  
   std::string hex;
   int number;
   } a_dictionary;
  
  
   typedef struct brute{
  int entry;
  string secWord;
  string secHex;
  }
  
  typedef std::unordered_map&lt;std::string, dictionary*&gt; Mymap;
  typedef std::map&lt;int, brute*&gt; Solved;
  int _tmain(int argc, _TCHAR* argv[])
  {
  string option;
  string pass;
  int choice=0;
  
  Solved solution;
  Mymap c1;
  </code></pre>
  
  <p>error C2159: more than one storage class specified
   error C2146: syntax error : missing ';' before identifier 'Mymap'
   error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
   error C2146: syntax error : missing ';' before identifier 'c1'
   error C2065: 'c1' : undeclared identifier</p>
  
  <p>error C2159: more than one storage class specified</p>