Original Post
I have this if statment
if (temp != "Nigel")
{
strcpy(sp1truck5, temp);
infile.get(sp1truck5url, 50);
infile.ignore(80, ''\n'');
infile.get(temp, 50);
infile.ignore(80, ''\n'');
}
Now..I ran the debugger to this if statment..and the variable temp = "Nigel" ... the exact spelling and case. but the if statement is still going through.. I cant see why it is. The conditions arnt met..so it should run.. That is the right statement for somthing not equalling somthing right