title: Access violation when attempting to read and write a string?
body: <p>I'm very new to c++. I come from the land of java, so the input/output system is confusing me a bit, so sorry if this is a dumb question.</p>
  
  <p>I'm attempting to declare a string, save some console input to it, and then print the string. </p>
  
  <pre><code>int _tmain(int argc, _TCHAR* argv[])
  {
  
      char* pizza = "";
      std::cin &gt;&gt; pizza;
      std::cout &lt;&lt; pizza;
  
  
      return 0;
  }
  </code></pre>
  
  <p>I get an access violation exception, which makes me think I have an invalid memory address somewhere. </p>