Programmatically get Google search results

c++, google-search

Solution

C++ requires a little more work then other languages. You will need to connect to Google's REST Search API and then use a JSON parser to parse out the search results. Json.org has a collection of JSON parsers in various languages.

Problem

How can I get Google search results from inside a program? I need to get an array of search results for a specified string.

Original source