title: More structs/classes for better naming convention or not?
body: <p>I have input data like below,</p>
  
  <pre><code>//road graph: from and to
  1 2
  1 3
  3 4
  3 5
  //next festive city: type and city_id
  2 5
  2 3
  1 3
  2 3
  2 4
  </code></pre>
  
  <p>So far, I make 1 struct to represent both input types.</p>
  
  <pre><code>struct MainData{
      int data;
      int data_1;
  };
  
  int main()
  {
      /*code omitted*/
      for(int i=0;i&lt;n-1;i++){
          cin&gt;&gt; highWays[i].data &gt;&gt; highWays[i].data_1;
      }
      for(i=0;i&lt;m;i++)
      {
          cin&gt;&gt;queries[i].data&gt;&gt;queries[i].data_1;
      }
      /*code omitted*/
  }
  </code></pre>
  
  <p>IMO, I don't think it's a good pratice, since the purpose of <code>data</code> and <code>data_1</code> is not clear. Though adding another struct might introduce larger file. Therefore, I'm confused whether to make 2 structs to differentiate those input types, which leads to better naming convention, or not. Any advice?</p>