I have a QUESTION regarding data validation
I'm writing a program, where i want the input to be only integers.
so if they enter things such as letters or symbols it won't crash my program.
i tried stuff like,
while(inputArray[count] != int)
cout << "Invalid Input. Please enter a integer." << endl;
cin >> input;
Is this possible? since letters are essentially also integers?