title: Get host Name (C++)
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2933774/c-windows-function-call-that-get-local-hostname-and-ip-address">C++ Windows function call that get local hostname and IP address</a>  </p>
  </blockquote>
  
  
  
  <p>I tried lot. How get host name in c++. I am using windows 7.
  Please anyone help me.</p>
  
  <p>I use </p>
  
  <p>#include"unistd.h"</p>