大家好 小弟刚学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 可以看到全部内容