interacting with a website

This is a discussion on interacting with a website within the C++ Programming forums, part of the General Programming Boards category; how can I write a console application program that sends some English words to a website, lets say to "" ...

  1. #1
    Registered User
    Join Date
    May 2003

    interacting with a website

    how can I write a console application program that sends some English words to a website, lets say to "" website to check for the meaning of these words, and how can I get the result.

  2. #2
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    What you're asking is a very wide range of things. First the website would have to be able to accept requests from outside the website and you'd have to know the way it has to be asked.
    Even soupousing that you would have to look up sockets to open the internet connection to the website and get the result just like your browser would.
    If you're having to ask this you're probably not at a stage where you could do this easily. Take a look at sockets anyway and see.
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

  3. #3
    Registered User
    Join Date
    Nov 2001
    I highly recommend Network Programming for Microsoft Windows, Second Edition by Anthony Jones and Jim Ohmund.


  4. #4
    Registered User
    Join Date
    May 2003

    Sample App

    Hello, Here is a Sample application from MSDN for u to begin with.

    It runs from command prompt. Called TEAR


    That gets the html source code of Then its a matter of locating The data from within the html code, in your case Translated word, and displaying it.

    Download it > Tear.Zip <

    Build it with VC++. Good Luck
    Last edited by Amar; 05-31-2003 at 09:20 AM.

  5. #5
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Originally posted by Salem
    Same Question?
    Probably, so all replied here OK
    Same problem, but not quite the same question.
    All the buzzt!

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How's my new Website
    By asbo60 in forum General Discussions
    Replies: 53
    Last Post: 07-10-2009, 11:10 AM
  2. Monster website
    By ssharish2005 in forum A Brief History of
    Replies: 6
    Last Post: 07-03-2008, 10:32 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21