Re: [Dev-C++] Portable web access and regexp parser
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Chad S. <ho...@ho...> - 2000-11-14 21:12:55
|
>From: "Quentin Smith" <mac...@bi...> >Reply-To: dev...@li... >To: <dev...@li...> >Subject: Re: [Dev-C++] Portable web access and regexp parser >Date: Tue, 14 Nov 2000 14:37:38 -0500 > >Hello- >If you read my message, you would see that I _am_ using wxWindows for >the >program. I was asking for, mainly, a regular expression parser, and also >how to access a web page. IE, sample code would be nice :) >--Quentin For parsing regular expressions check out the boost library. Info can be found the their website. http://www.boost.org/ specifically http://www.boost.org/libs/regex/index.htm As for accessing web pages, (and by that I assume you mean remotely connecting to a web server and requesting a page from it which you then read into your program) you'll have to look into some networking functions. AFAIR Windows can use a similiar API to BSD style sockets. It should be relatively easy (assuming you know that API. If not I can try to explain it a bit or refer you to some web tutorials) to establish a TCP/IP connection to a remote web server on port 80, send it the get request, and read the data the server spits back. Hopefully that should help some, Chad Simmons _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. |