I'm writing a pretty basic autoclicker for a game... and one of the parts of the program is to retrieve the coordinates, so you can further set where to click...
I have a question asking how many sets of coordinates should be received, a countdown to the coordinate retrieval... display... and then a short pause so you can make sure you get the right thing without having to rush it...
My problem is: it does not pause after the first time going through the coordinates... it goes through the countdown... prints out the coordinates... types the message to click enter... but doesn't wait and simply proceeds forwards... On cycles 2 and afterwards however, it works perfectly fine. Is there any reason to this?
How do I fix this? Maybe just use a different method all around? This is the only way I'm familiar with other than system("pause") though...
Doesn't work... Happens exactly the same as it did before... all runs fine but doesn't stop after the first set... Also what do the (255, '\n') do at cin.ignore?