Hello!

I am writing a console program on SI, nor can I understand the algorithm and code.
Please tell me how I am from here.

http://bar-navig.yandex.ru/u?show=31&url=http://yandex.ru

Get value =
I just can not understand, I will be grateful if you tell me. That is, the program must substitute the domain itself and display this value.

Thank you

  • I did not understand something. Do you have this XML document, and you need to read the value of the value parameter from it? Or something else? - skegg
  • To the program itself, go gently to the site at this address: bar-navig.yandex.ru/u?show=31&url=http://(here I substitute a domain from a variable). And on this page, take the value and return it to me. Did I write clearly? - VladislavMSK

1 answer 1

In the most general terms. First you need to download this document using either clean sockets or some kind of wrapper. Then steam it up. If you know the line number, then upload it to the buffer, then use the strstr function to find the input of the substring "value =", then, using the pointer found, find what follows this word, i.e. parameter value.