大家好 小弟剛學c++ 目前用這本書begining c++ game programing pdf 裡面的範例 但是這一個範例出現
guess undeclared 的錯誤 不知道要怎麼解決 因為好像guess有宣告為string了 可是這一行編繹時一直出現這種錯誤
請各位高手指教 謝謝 :)
//word jumble
//the classic word jumble game where the player can ask for a hint
#include <iostream>
#include <string>
#include <cstdlib>
#include <ctime>
using namespace std;
int main()
{
enum fields {word, hint, num_fields};
const int num_words = 5;
const string words =
{
{"wall","do you feel you're baning your head against something?"},
{"glasses","these might help you see the answer.&qu ..
訪客只能看到部份內容,免費 加入會員 或由臉書 Google 可以看到全部內容