I want to ask for a full simple code.
I'm creating console application with dev c++. I need a code which prints a text from a file in website. For example http://www.google.com/robots.txt or .php I need just one line to be print in this case it would be "User-agent: *".