Advertisement
Glenpl

Untitled

Aug 13th, 2015
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <iostream>
  2. #include <curl/curl.h>
  3. #include "htmldownload.h"
  4.  
  5. int main()
  6. {
  7.     curl_global_init(CURL_GLOBAL_ALL);
  8.  
  9.     std::cout << HTMLDownload::getPageSource("http://www.wp.pl/");
  10.  
  11.     curl_global_cleanup();
  12.     return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement