Learning to code! Please help
I guess this is an introduction of sorts and i have some questions for you guys. I am trying to teach myself c++ but i do not know anyone who can code so i cant ask questions. I am using visual studio community to do this. Basically i am trying to create a simple program at first and move from there. First i want to create a simple key pressing program to attack, buff on timers, and hopefully "screen scrape" to read my health and mana points, convert it to a percentage and then use potions with key presses at certain percentages of health. later i want to learn to include mouse movements, and just in general improve my code. I believe this would be considered a trainer. Looking for any advice, tips, code snipets, anything would be appreciated. After doing a lot of research i see there are multiple ways to do keypresses, and i guess my main concern is how to get the keypresses to go into the game i am playing and not into the console or anything like that. Eventually i would like to make it so i can do other things on my computer while my code injects the key presses into the game. Allowing me to write an exam paper while i "train" at the same time!
Any input, or examples of code for this would be amazing! Thanks guys, and I hope i am a good fit to the community.
Any input, or examples of code for this would be amazing! Thanks guys, and I hope i am a good fit to the community.