char not equalt to !=
Posted: Sun Oct 12, 2003 10:18 am
Is this the correct syntax?
if (collide.name != "sheild")
{
/* collide routine here */
}
if (collide.name != "sheild")
{
/* collide routine here */
}
if (strcmp(collide.name, "sheild") != 0)
{
/* collide routine here */
}