I am writing a C ++ program that searches for Wikipedia, Google, Wolfram alpha etc I'm asking for input (I want to find "like photos of cats") and I put that input on the batch where it runs a command to open a Google search using my input Is:
string input; Cout & lt; & Lt; "What do you want to find?" & Lt; & Lt; Endl; Gateline (pin, input, '\ n'); System (("Start https://www.google.com/search?q=" + Input) .c_str ()); The problem is, if I ask it to search for "funny cats", then it only searches for strange things. What should I do? I am also open for suggestions of other methods besides the use of CMD.
URL- Encoded Search String:
Comments
Post a Comment