title: How to set/get value in struct inside a struct
body: <p>How can i access my struct to get/set value inside of it??
  Here my example code</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  typedef struct t_TES
  {
      double dTes;
  }TES;
  
  struct SAMPLE1
  {
      struct TES;
  };
  
  int main()
  {
      SAMPLE1 sss;
      //How can i get/set dtes value??
      sss.TES.dtes=10;
      cout&lt;&lt;sss.TES.dtes&lt;&lt;endl;
      return 0;
  }
  </code></pre>
  
  <p>Is it posible to assign value like this "sss.TES.dtes=10";
  and get the value like by calling this "sss.TES.dtes";
  i already try to combine both -> or :: operator to get/set value but always got an compilation error.</p>
  
  <p>Pardon me for my bad english, Thanks..</p>