logical if in C

Thankyou all. I fixed the problem while waiting.

if(temp == -1 || temp1 == -1) {
statement
}

My problem, I came from coding PIC using Basic and = works.
I will get the hang of it after a while. But this forum is great.

What I am about is using the Arduino to emulate all the functions of the PH Anderson's serial LCD PIC chip.