Possible Networking Program Design :: Winsock
Hello.
I have an idea for a program I would like to design and implement using C++. This program will produce a list of websites based on what the user wants to search. For example, let say the user enters "c++ programming." The program will log onto Google.com and conduct a search for "c++ programming." It will browse all responses pages and save all websites into a text file (one line per website URL). One done, the user will have a list of relevant websites.
From an implementation perspective, is the program above simple enough using C++ and Winsock? I should be able to setup a socket to connect to a search engine such as Google and/or Yahoo. That is about all I know right now. I do not know how to gather the information after I have connected to, say, a website. Please include a possible implementation using Winsock if you know of one.
Thanks,
Kuphryn
May 04, 2002 06:24 PM
Easy stuff. You can do pretty much any netwoeking stuff (related to the internet) with c++ and winsock ![](tongue.gif)
Couple things you might wanna check out..
1) Perl is really really good/easy for the type of program you are describing (it will take you about 10% of the time to write a program like this in perl)
2) Check out some programs such as "web spiders" or "robots" (in relation to web searching) as those are the common names (at least i know of) of the sorts of programs that do similar things to the program you''re speaking of making.
![](tongue.gif)
Couple things you might wanna check out..
1) Perl is really really good/easy for the type of program you are describing (it will take you about 10% of the time to write a program like this in perl)
2) Check out some programs such as "web spiders" or "robots" (in relation to web searching) as those are the common names (at least i know of) of the sorts of programs that do similar things to the program you''re speaking of making.
Thanks.
Thanks, but no thanks. I want to design and implement my own program with the help of members on forums through the web. My goal has always been to learn from start to finish.
As for perl, I heard it is the choice for many UNIX programmers. I will stick with C++ and Winsock for now.
Kuphryn
Thanks, but no thanks. I want to design and implement my own program with the help of members on forums through the web. My goal has always been to learn from start to finish.
As for perl, I heard it is the choice for many UNIX programmers. I will stick with C++ and Winsock for now.
Kuphryn
No offense taken.
The way I see about asking questions whenever I wonder about something is that I am not the only person learning something. I am sure many other members wonder or might want to know the same things. Plus, unless the question is specific, I always end up going my own way.
In the end, programming to me is sharing ideas and solutions to problems.
Kuphryn
The way I see about asking questions whenever I wonder about something is that I am not the only person learning something. I am sure many other members wonder or might want to know the same things. Plus, unless the question is specific, I always end up going my own way.
In the end, programming to me is sharing ideas and solutions to problems.
Kuphryn
Funny, to me programming is a quasi-artform for which I am very well compensated...
I think using C++ and winsock for this is fine. Probably not the optimal solution, but if you are doing it for learning purposes, I am sure you will be able to learn something from the exercise.
Oh, by the way, Perl isn''t just a UNIX beast anymore...
I think using C++ and winsock for this is fine. Probably not the optimal solution, but if you are doing it for learning purposes, I am sure you will be able to learn something from the exercise.
Oh, by the way, Perl isn''t just a UNIX beast anymore...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement