i'm having a hard time finding info on this, so i'll just ask quickly. in a char array, i'm looking for a particular letter. if the letter were "c", my program would be as follows
however, i'm not looking for c, i'm looking for the enter key. what is it's value in a char array?Code:char example[15];
if (example[12] == 'c') {
// do stuff
}