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");
}
我希望当用户没有按下向下或向上箭头时,它会发出错误声音。但在 bluej 中它向我展示了 || 不管用。
慕姐4208626
肥皂起泡泡
相关分类