| | |
Reading Source code of a webpage
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
![]() |
I don't think you can do this with standard c++. Or if you can, you may need third party libraries. A quick search suggests going with the microsoft windows option would seem the easiest.
[search]c++ read webpage[/search]
http://www.daniweb.com/forums/thread50205.html
Look at the msdn website and the documentation for wininet perhaps?
[search]c++ read webpage[/search]
http://www.daniweb.com/forums/thread50205.html
Look at the msdn website and the documentation for wininet perhaps?
Last edited by iamthwee; Sep 16th, 2007 at 5:34 am.
•
•
Join Date: Dec 2006
Posts: 1,089
Reputation:
Solved Threads: 164
using libcurl would be a portable way. http://curl.haxx.se/libcurl
source or binaries for a number of platforms are available http://curl.haxx.se/download.html
libcurl can be used directly from c++. curlpp gives a c++ wrapper that uses stl, is exception and type safe; so you may want to use it.
http://rrette.com/textpattern/index.php?s=cURLpp
http://rrette.com/textpattern/index....download&id=35
you could also use curl from the command line.
to retriev a number of web pages (eg. to mirror a complete website), use wget
http://www.gnu.org/software/wget/
for windows: http://www.christopherlewis.com/WGet/WGetFiles.htm
source or binaries for a number of platforms are available http://curl.haxx.se/download.html
libcurl can be used directly from c++. curlpp gives a c++ wrapper that uses stl, is exception and type safe; so you may want to use it.
http://rrette.com/textpattern/index.php?s=cURLpp
http://rrette.com/textpattern/index....download&id=35
you could also use curl from the command line.
to retriev a number of web pages (eg. to mirror a complete website), use wget
http://www.gnu.org/software/wget/
for windows: http://www.christopherlewis.com/WGet/WGetFiles.htm
![]() |
Similar Threads
- How to download source code for NetBeans and Eclipse? (Java)
- explanation for source code of printf (C)
- Source code for printf, scanf, cin, cout? (C)
- Source code implementing Latent Semantic Indexing (C++)
- RE: Leaked Windows Source Code (IT Professionals' Lounge)
- Windows 2K source code? (Windows NT / 2000 / XP)
Other Threads in the C++ Forum
- Previous Thread: windows api help
- Next Thread: help with windows api in c++
Views: 2732 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete desktop directshow dll encryption error file forms fstream function functions game getline givemetehcodez google graph homeworkhelper iamthwee ifstream input int integer java lazy lib linkedlist linux loop looping loops map math matrix memory microsoft newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive reference return sort string strings struct studio system template templates test text tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






