title: Getting a strange int value
body: <p>When I <code>cout</code> my <code>lettercase</code> variable to the console, I get <code>-858993460</code>. Everything else seems to be working okay. What am I missing here?</p>
  
  <p>So here's a sample of my code:</p>
  
  <p>Here's main:</p>
  
  <pre><code>int main()
  {
      int lettercase = 0;
      Switch switcher(lettercase);
      lettercase = switcher.getLettercase();
      cout &lt;&lt; "Lettercase: " &lt;&lt; lettercase &lt;&lt; endl;
  
      return 0;
  }
  </code></pre>
  
  <p>I also have a separate class called <code>Switch</code>.
  Here's a sample of its header file:</p>
  
  <pre><code>class Switch {
  public:
      // DEFAULT CONSTRUCTOR
      Switch();
  
      // OVERLOAD CONSTRUCTOR
      Switch(int);
  
      // DESTRUCTOR
      ~Switch();
  
      // Lettercase accessor
      int getLettercase();
  
  private:
      int lettercase;
  };
  </code></pre>
  
  <p>And here's a sample of my definition:</p>
  
  <pre><code>// DEFAULT
  Switch::Switch() {
      int lettercase = 0;
  }
  
  // OVERLOAD
  Switch::Switch(int lettercase) {    
      // CHANGE LETTER CASE
      if (lettercase == 1) {
          lettercase = 0;
      } else {
          lettercase = 1;
      }
  }
  
  // DESTRUCTOR
  Switch::~Switch() {
  }
  
  // ACCESSOR
  int Switch::getLettercase() {
      return lettercase;
  }
  </code></pre>