Open Google then open search result

I'm a newbie to programming. I need to open google, have it return a search result for "Glasses" then open the third result. I was using this code to open the brouser, but I need help doing the rest.

//open google

#include <windows.h>

int main()
{
ShellExecute(NULL, "open", "http://google.com",
NULL, NULL, SW_SHOWNORMAL);
}
Last edited on
Topic archived. No new replies allowed.