how to obtain html code of a webpage using C?m being able to open a webpage in the browser but i nid the html source of that webpage..plzz help
how to obtain html code of a webpage using C?m being able to open a webpage in the browser but i nid the html source of that webpage..plzz help
That functionality is built in to most browsers. A simple right-click on the page, select "View Source" and you've got the HTML source. I don't understand where C comes into the picture.
If you wanted to do this from C you can lookup socket programming and the HTTP protocol to download the source.
Reading:
Beej's Guide to Network Programming
Hypertext Transfer Protocol - Wikipedia, the free encyclopedia