Answer the question
In order to leave comments, you need to log in
Get string from url c++?
How to get a string from a link without using curl connection and other things? Just the value of the text file, for further comparison. Just DownloadString. If anyone has any suggestions, I'd be happy to help. I've looked all over the internet and can't find anything.
Answer the question
In order to leave comments, you need to log in
There is no such thing in the standard library.
Choose . You do not want? - write your own implementation of the HTTP protocol on sockets (actually not very difficult for simple client requests). True, HTTPS is now all around, so good luck in this endeavor.
std::unique_ptr<TIdHTTP> _http(new TIdHTTP());
UnicodeString _str = _http->Get(_uri);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question