Gary Wessle wrote:
Hi
how can I do this in C++
string myword;
string get_word_from_this_url( url ){
bool flag = true;
while flag;
download this url and search for this word;
if found; set flag to false;
retrun word;
}
I know c++ does not have load(url), do I need to go to perl or
some other language?
thanks
Standard C++ does not have any means of loading a URL. That does not
mean that your C++ implementation does not have one, it probably does.
But this group deals with standard C++ only, so you should ask this
question in a group for your compiler and/or operating system. Since
loading a URL is likely to be a feature of your operating system perhaps
you should try a group about programming C++ on your particular
operating system.
BTW perl would a good choice for string parsing, it's not one of C++'s
better features.