Thread: Tutorial/Guide on saving www source to a string

  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    42

    Tutorial/Guide on saving www source to a string

    Hello,
    As one of my school project I have to gather data from quite some webpages. I've been wondering, is there a fast way to open webpage and save it's source into a string using C++ (so I can easily access that data)?
    Well, basicly I'd need to know what to begin with... any tutorials/guides, or even keywords to google for anyone?

    Thanks in advance

  2. #2
    Winsock, perhaps? Assuming your first step is to find a way to retrieve data from a network...
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  3. #3
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    if the data gathering is something that doesn't need to be done at run-time, then you might want to write a simple bash script and use wget to download all of the data, then process the files after.

  4. #4
    Registered User
    Join Date
    Nov 2006
    Posts
    42
    Nope, processing doesn't have to be done in run-time, more important is to get all the sources automatically.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Please check my C++
    By csonx_p in forum C++ Programming
    Replies: 263
    Last Post: 07-24-2008, 09:20 AM
  2. Message class ** Need help befor 12am tonight**
    By TransformedBG in forum C++ Programming
    Replies: 1
    Last Post: 11-29-2006, 11:03 PM
  3. String
    By maxorator in forum C++ Programming
    Replies: 8
    Last Post: 10-30-2005, 12:36 AM
  4. Calculator + LinkedList
    By maro009 in forum C++ Programming
    Replies: 20
    Last Post: 05-17-2005, 12:56 PM
  5. Linked List Help
    By CJ7Mudrover in forum C Programming
    Replies: 9
    Last Post: 03-10-2004, 10:33 PM