New to c++, simple program

Hello all, I have been taking c++ programming for only a few months at college and I am not very good at it so far, I am currently quite good at VB.net and Action script 2.

I tried to write my program which I will explain a little more about later, in VB.net but it was much too slow and I just don't think VB is right for the job.

Basically my program has to be very lightweight
it visits a web URL: XXXX.com/profiles.php?XID=XXXXXX
then takes the html code from it
scans it for a certain part which is the amount of days since they last visited
then logs the XID and the amount of days since they last visited if it is over 100 to a textfile
creates a newline, then loops back to do the same thing but with the next profile up
starting at /profiles.php?XID=1
ending wherever

I'm sure this could all be done relatively easily but do you guys think you could point me in the right direction for where I should be looking for each part of my code,

thankyou very much for your time!
Ehh!! I remember the good old days of actionscript... :P

For retrieving, try libcurl
http://curl.haxx.se/libcurl/

For searching the text
http://www.cplusplus.com/reference/string/string/find/

For writing to files
http://www.cplusplus.com/doc/tutorial/files/

Good luck!

EDIT:

If you need more advanced functionality than libcurl, use libwww
http://www.w3.org/Library/
Last edited on
Topic archived. No new replies allowed.