Suppose I would like my C code to fetch the headline from the website, like world wide web.example.com
How to achieve that?
Can One write a course in C to get this done?
produce a start...
Browse the Beej's Help guide to Network Programming.
This can be a beginner's help guide to socket programming with Internet electrical sockets. It is intended to be a springboard which will launch you in to the exciting realm of TCP/IP programming.
You will find many method of getting your result, but the easiest way is always to make use of a library since parsing html is frequently complicated.
You could attempt to make use of libxml
There's also libcurl which enables you to definitely simulate a browser.
But attempting to parse html yourself is going to be.... painful..