[Tutor] Python to C++

Matthew Ozor matt at ozor.net
Thu Feb 19 16:49:35 EST 2004


Hello,

I wrote a program that parse an HTML page on the internet.

#partial example
import urllib

urlopener = urllib.URLopener()
con = urlopener.open("http://test/test.html")
output = con.read()

#end example


Now 'output' holds the web page and that what I want. Is there any way
to do this that easy in C/C++. I've tried google searching for examples
with no luck. I am using dev-c++ which uses mingw as it compiler.

Thanks 
Matt Ozor
www.ozor.net





More information about the Tutor mailing list