title: C structure as a data type
body: <p>I want to be able to do something like this:</p>
  
  <pre><code>typedef struct
  {
      char* c_str;
  
  } string;
  
  string s = "hello";
  </code></pre>
  
  <p>Is it possible to do that in any way?</p>
  
  <p>I know that it is possible to do this:</p>
  
  <pre><code>typedef struct
  {
      char* c_str;
  
  } string;
  
  string s = { "hello" };
  </code></pre>
  
  <p>But I do not like the curly brackets when it is only one member variable.</p>