if (key != (VK_RIGHT || VK_DOWN)) //in this line bluej saying that's not correctly written. i want when the user is not pressing the down or up arrow it makes the error sound.
{
playSound("error");
}
i want when the user is not pressing the down or up arrow it makes the error sound. but in bluej it shows me that the || is not working.
Aucun commentaire:
Enregistrer un commentaire