title: Reading from text file to char* array
body: <p>How could put input to char* array from the text file using function below?
  Many thanks.</p>
  
  <pre><code>char* data2[] = { 0 };
  
  char ch;
  fstream fin("../level_15.txt", fstream::in);
  while (fin &gt;&gt; noskipws &gt;&gt; ch) {
      cout &lt;&lt; ch ; // Or whatever
  }
  </code></pre>
  
  <p>I am trying to get an array of structure like this below:</p>
  
  <pre><code>char* data[] = {
                  /// level 1
                  "aaaaaaaaaaaaaa",
                  "bbbbbbbbbbbbbb"
              };
  
  
  
  cat example.txt
  "aaaaaaaaaaaaaa",
  "bbbbbbbbbbbbbb"
  </code></pre>