title: How to read text from internet with C++
body: <p>I trying get text data from internet with C++ but I couldn't find anything useful.</p>
  
  <p>like python;</p>
  
  <pre><code>import urllib
  data = urllib.urlopen("examplesite.com/data.txt").read()
  </code></pre>