Simple sample code required

Discussion in 'C++' started by Curious, Aug 30, 2004.

  1. Curious

    Curious Guest

    Hi List,

    Obviously my google-fu is very weak and I can't find a simple sample
    code for C++ that allows me to simply download the source of a
    specified web page.

    I'm looking at downloading the source from one web page, parsing that
    source and repassing it to a second webpage.

    The parsing side of things I hope I can handle myself, however for the
    get/put bits I'm a little lost.

    So can anyone recommend a good URL for the sample code, or if its not
    too much of a problem, provide a copy here?

    Many thanks in advance
    Dean
     
    Curious, Aug 30, 2004
    #1
    1. Advertising

  2. Curious wrote:
    > Obviously my google-fu is very weak and I can't find a simple sample
    > code for C++ that allows me to simply download the source of a
    > specified web page.


    There can be no such thing. C++ does not have any networking built in,
    so you'd have to use OS-specific means anyway. Yes, the program would
    be written in C++, but the functionality cannot be expressed using
    only Standard C++ terms. That makes web access off-topic here.

    > [...]
    > So can anyone recommend a good URL for the sample code, or if its not
    > too much of a problem, provide a copy here?


    Ask in one of comp.infosystems.www.* newsgroups on in a newsgroup for
    your OS/platform.

    V
     
    Victor Bazarov, Aug 30, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jake
    Replies:
    0
    Views:
    562
  2. hrishy
    Replies:
    2
    Views:
    360
    Frank Millman
    Oct 3, 2008
  3. Tim Chase
    Replies:
    0
    Views:
    76
    Tim Chase
    Feb 16, 2014
  4. Terry Reedy
    Replies:
    0
    Views:
    83
    Terry Reedy
    Feb 16, 2014
  5. Tim Chase
    Replies:
    0
    Views:
    88
    Tim Chase
    Feb 16, 2014
Loading...

Share This Page