(C++) 所以我爲我的任務寫一個程序,它需要的程序提示用戶對每個案件後,返回菜單或退出程序,問題我不知道如何有效地實現這一點。有任何想法嗎?此外戒菸,我想打電話給一個名爲「退出」 #include <iostream> //libraries
using std::cout;
using std::cin;
using std::endl;
int m
我正在製作一個文本冒險遊戲,我試圖讓用戶使用q退出遊戲。我不知道該輸入什麼,這是我的代碼。 print ("Welcome to Camel!")
print ("You have stolen a camel to make your way across the great Mobi deset.")
print ("The natives want their camel back an