title: What´s the difference between string made by a struct
body: <p>In the college I saw that my teacher made a program making a struct just like this:</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  struct string_
  {
    char _string [255];
  }
  
  struct person
  {
     string_ birthday[5]; 
     string_ name[5];
  }x;
  </code></pre>
  
  <p>I think that he did it because it seems to be easier to manipulate the strings in that way...
  The problem came when I did an exam just in that way and he said that it was unnecesary</p>
  
  <p>How can I save the strings not doing that and not using the datatype "string". something like...?</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  struct person
  {
     char birthday[5][255]; 
     char name[5][255];
  }x;
  </code></pre>