title: Segment(aka Struct Segment) has no member named v (or w)
body: <p>I am getting this error on the last printf line, however the v  &amp; w members have already been declared before, it normally should work:</p>
  <pre><code>#include &lt;stdio.h&gt;
  struct Point {
  float x;
  float y;
  float z;
  };
  typedef struct Point Point;
  
      struct Segment{
      Point a;
      Point b;
      };
      typedef struct Segment Segment;
  
  
  int main(){
  Point v = {4.1,6.2,9.3}, w= {3.3,6.6,9.9};
      Segment s;
      s.a = v;
      s.b = w;
  printf(&quot;(%.1f, %.1f , %.1f) --- (%.1f , %.1f , %.1f)&quot;, s.v.x, s.v.y, s.v.z, s.w.x, s.w.y, s.w.z);
  return 0;
  }
  </code></pre>
  <p>It's been hurting my head for about 45 minutes now ._.</p>