i have read a few threads and am amazed at how much help you get here. I just started learning C++... anyway here is my delema
i am working on a program that you have to enter a number but the seccond number has to be less that the first number, the third number has to be less than the seccond number and the fourth number has to be two less than the third number.
i want to use the keystroke logger so when you type in a number it each keystroke as a vairable and then i can just use this code
if (b < a && c < b && d == c-2){
cout<<"Congrats!! you found a number!";
}
or
if (b<a){
if (c<b){
if (d==c-2){
cout<<"Congratulations you found a number!";
}
}
}
if any one knows of an easier and/or different way please let me know