getting text from website

hi i want to get text from a website like google docs
sort of like getting text from a txt file on my pc
example:
 
  richTextBox33->LoadFile("C:\\Users\\Administrator\\Desktop\\Example.txt", RichTextBoxStreamType::PlainText);

it gets the text from the txt file and displays it in the textbox
Last edited on
https://curl.haxx.se/libcurl/
http://www.curlpp.org/

(If you want to go through Boost ASIO, there is also Beast: https://github.com/boostorg/beast.)


The reason for the added complexity is that it is not as simple as simply opening a local file.
When performing a GET you are asking some other computer to send you a file.

Good luck!
i'm confused. do you have an example?
Well done for choosing .NET for this task.
It's very simple the System::Net::WebClient::DownloadString
https://msdn.microsoft.com/en-us/library/fhd1f0sw(v=vs.110).aspx
thank you!
Registered users can post here. Sign in or register to post.