Obviously not.
Is it possible to make a C++ program that will receive information and then search it in google or youtube?
"The best way to predict your future is to create it."
Contributions I made:
DirectX E-Books
Hacking Tools
Hacking into a PC
Need Help?
Send me a PM, or send me a email at : aanthonyz10@gmail.com
Click My Dragon:
Obviously not.
Ah we-a blaze the fyah, make it bun dem!
It really isn't too difficult to do only that retreaving information from more complex websites in that manner could be a little difficult. Check to see if they offer an API to do whatever you want to achieve.
Otherwise you need to construct a basic http client - .Net has a perfect WebClient class for this. However, writing an http client for these purposes isn't too difficult either. You would need to implement the HTTP protocol which is not too difficult only that parsing the headers in a safe and compatible manner can be a pain without access to a text-parsing engine such as regex.
There are two types of tragedies in life. One is not getting what you want, the other is getting it.
If you wake up at a different time in a different place, could you wake up as a different person?
Yes.. you can have it open up internet then Google (errr w/e...).
Then make it something like If https://Google.com.Opened = true Then
'Right here you can add a keydown function to type what you want to search... i.e. Textbox1.Text
End If
EDIT: Or For google... you SHOULD do this:
Button1(stuff) 'Search button
"https://www.google.com/#sclient=psy&hl=en&q=" + TextBox1.Text + "&aq=f&aqi=g-s5&aql=&oq=&pbx=1&fp=4e1575e2abc51ac9"
End Sub
Basically Most searches go by that format... then it will change the link to w/e. So That will bring you to what you want to search for in TextBox1.
Basically, lets say I want to search "BBQ"(I was hungry...)
They would open up my program, type in what they would want and it would then open up a google search page for tacos
"The best way to predict your future is to create it."
Contributions I made:
DirectX E-Books
Hacking Tools
Hacking into a PC
Need Help?
Send me a PM, or send me a email at : aanthonyz10@gmail.com
Click My Dragon:
You got a problem kid? My first thing was retarded but the second one works (I was giving VB Example... like they can do something like that in c++) . I made a google search engine that way. Have it open up the webpage in default browser:
"https://www.google.com/#sclient=psy&hl=en&q=" + TextBox1's Text + "&aq=f&aqi=g-s5&aql=&oq=&pbx=1&fp=4e1575e2abc51ac9"
Because That link searches google. Then the Textbox's Text would be what you search so it does work. Try it if you dont beleive me. Lets say you type in Baseball into textbox. Itll open up browser to google and search Baseball.
Go try it.
EDIT: I am assuming you are using form.
No, this is for my robot. Basically you say "search <whatever" and it will search it in google, I want to know if that is possible by typing it first and it working then I will convert it to speech stuff
"The best way to predict your future is to create it."
Contributions I made:
DirectX E-Books
Hacking Tools
Hacking into a PC
Need Help?
Send me a PM, or send me a email at : aanthonyz10@gmail.com
Click My Dragon:
Lol. Wow HD is on a roll today.
Yeh course it's possible. Seems what ur describing is a browser, though I know ur talking about something else. Point is its very easy to search for stuff.
However if you want to make something that can read info online and search for google automatically, make sure to add a function that will reply back on MPGH with a lmgtfy link, for all the help vampires that don't bother searching.
In fact let me do that right now: Windows Internet (Windows)
No offense anthony, ur not as bad as the others, and it was a legitimate question if a bit naive.
Last edited by why06; 04-04-2011 at 04:48 PM.
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower