title: Is C POSIX API compatible with C++ STL
body: <p>I will be using the C POSIX API Library to learn about socket programming. I will be creating servers which will be listening for connections and clients which will connect to the server. On the server there is a text file which looks like this</p>
  
  <pre><code>Peter,Male,10
  Mary,Female,20
  Tim,Male,30
  Shrek,Male,40
  </code></pre>
  
  <p>The server will read in the text file and store it in a data structure. I am wondering if there will be any compatibility problems with using a C++ STL like <code>vector</code> together with the C POSIX API to store all the text file information?</p>
  
  <p>Can someone advise me if I should use C <code>struct</code> or C++ STL?</p>