c++ - how to send the searched string completely to google search (Qt)? -


I send the url to search for the page that I need. Hoverware is a misunderstanding with Google.

 Baseline Caststring ("http://blogsearch.google.com/blogsearch?hl=tr&ie=UTF-8&q=C++"); 

I send the search string q = C ++; But Google only searches for string, does not search for C ++, what to do to change the search key from C to C ++?

Url to QUrl :: toPercentEncoding .

Try even better than this:

  QUrl url ("http://blogsearch.google.com/ blogsearch"); Url.addQueryItem ("hl", "tr"); Url.addQueryItem ("i.e.", "UTF-8"); Url.addQueryItem ("q", "c ++"); QByteArray baseurl = url.toEncoded ();  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -