I've been teaching myself C++ for the last two weeks. One of the things that was difficult for me to find on google was using the left click on a certain coordinate on the screen. The goal is to eventually be able to recognize images on the screen and alter the path accordingly, but until I gain more experience, I'd like to focus on the previously stated problem. Any help would be appreciated. Thank you.
portege
0
Light Poster
Recommended Answers
Jump to PostI've been teaching myself C++ for the last two weeks. One of the things that was difficult for me to find on google was using the left click on a certain coordinate on the screen. The goal is to eventually be able to recognize images on the screen and alter …
Jump to PostI don't think you'll be able to do this with 2 weeks of C++ experience. Of course I have no idea about how good you are at C++, but I think it's too advanced.
Jump to PostI got 10 lines. ;)
#include <windows.h> #include <iostream> using namespace std; int main(){ POINT c; GetCursorPos(&c); int x=c.x; int y=c.y; cout<<x<<", "<<y; system("PAUSE");}
Dont say things without reading the entire post submitted by a very experienced and senior member.
What he wanted to said that if …
Jump to PostMost windows messages do NOT have a corresponding function. You are treading into areas which will force you to learn Windows programming whether you like it or not, or you could always just go watch a TV show :cheesy:
[edit]The code that Jamthwee just posted will move the mouse, …
Jump to Post[post=235794]Creating Bruteforce Program[/post]
You mean start up on every reboot. And runs in the background...
That would fit.
Ok, here's an example. To shutdown a computer using windows you can press ctrl+alt, u, u. If I wanted my computer to shutdown everytime I pressed u,u,u, how would I go about making …
All 40 Replies

iamthwee
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
portege
0
Light Poster
Eddy Dean
13
Junior Poster in Training
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
portege
0
Light Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
portege
0
Light Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
portege
0
Light Poster

iamthwee
portege
0
Light Poster
portege
0
Light Poster
Eddy Dean
13
Junior Poster in Training
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
portege
0
Light Poster
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
portege
0
Light Poster

iamthwee
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster

iamthwee
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster

iamthwee
portege
0
Light Poster

iamthwee
portege
0
Light Poster
WolfPack
491
Posting Virtuoso
Team Colleague
portege
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.