Reading HTML with <fstream>

Hello,
I reciently downloaded some webpages with wget (see http://www.cplusplus.com/forum/general/6826/) and wrote a small program to parse them. It's a simple app, really specific to the "index.html" files that were downloaded. I compiled and ran it in windows and linux with the same result: ethier "cannot write" or garbage, is there any way to read html as straight text? (tried ios::text and ios::binary)

enduser000
.html files are straight text.
Thanks, problem with searching it then.

enduser
Yeah, that wasn't a smart question. Got confused cuz I was getting garbage info. I still do when I compile and run the program in Ubuntu 8.10 under Netbeans 6.5 on the html files I got with wget in Ubuntu. Any ideas on that? Works fine in cmd in windows..

enduser
Topic archived. No new replies allowed.