P
Paul Dixon
I would appreciate some help on what is probably a fairly simple thing
to do. I am a hardware designer, so my use of C is relatively limited,
in that I only use it to do what I need to do. Now for my own use, I
want to write a program that will download certain data for me from
the Internet. I have spent a lot of time trying to find books to tell
me how to achieve this, but with my lack of experience (and need) of
using the various Classes, I have not been successful.
I use Microsoft Visual C++ 5.0, though I really only use the C subset.
I want to write a program that will access a web site and allow me to
parse the HTML code line by line, either live as it is received or by
writing it to a file which I will open and read line by line.
Within these lines will be a number of URLs which I wish to extract
one by one and also retrieve the contents of those pages. In this case
I will open, read and close each page before moving on to the next
page. So there is never a need to have more than two different pages
open at the same time.
Can someone provide me with a simple prototype for internet access
that I can expand to perform the tasks I need.
Thanks in anticipation.
Paul Dixon
to do. I am a hardware designer, so my use of C is relatively limited,
in that I only use it to do what I need to do. Now for my own use, I
want to write a program that will download certain data for me from
the Internet. I have spent a lot of time trying to find books to tell
me how to achieve this, but with my lack of experience (and need) of
using the various Classes, I have not been successful.
I use Microsoft Visual C++ 5.0, though I really only use the C subset.
I want to write a program that will access a web site and allow me to
parse the HTML code line by line, either live as it is received or by
writing it to a file which I will open and read line by line.
Within these lines will be a number of URLs which I wish to extract
one by one and also retrieve the contents of those pages. In this case
I will open, read and close each page before moving on to the next
page. So there is never a need to have more than two different pages
open at the same time.
Can someone provide me with a simple prototype for internet access
that I can expand to perform the tasks I need.
Thanks in anticipation.
Paul Dixon