title: Not being able to initialize condition variable in a struct
body: <p>Why am I not able to initialize a condition variable in a struct?
  I want each node to have a condition variable so I can wait and signal it, and when I add the initialization code it throws this error:
  expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘<strong>attribute</strong>’ before ‘=’ token
  make: <em>*</em> [trie.o] Error 1</p>
  
  <p>I tried doing the initializition when needed somewhere(not in the struct)and I still get an error, I have included pthreads.h</p>
  
  <pre><code>struct trie_node {
  
    pthread_cond_t condition=PTHREAD_COND_INITIALIZER;
  };
  </code></pre>