URL response

Hello suppose I want to get reply of any URL in C++ program by receiving data from a site.
How do I do that?
I mean just for example If I run
 
  ping www.google.com

in CMD --> It might reply with some kind of IPs..

So In my program suppose if input is www.google.com/<keyword> [consider keyword="What you want to search" and there is only one sentence available regarding it]

Program must print that there.. How do I do so??
It's not clear what you're asking. Can you take your time and start again. Assume we're not familiar with your code or problem.
Topic archived. No new replies allowed.