Dev C++ Yes Or No Question
Nov 29, 2016 Delphi is the ultimate IDE for creating cross-platform, natively compiled apps. Are you ready to design the best UIs of your life? Our award winning VCL framework for Windows and FireMonkey (FMX) visual framework for cross-platform UIs provide you with the foundation for intuitive, beautiful. Nov 04, 2019 Como cambiar el color de fondo del editor de Dev C How to change the background color in DevC - Duration: 1:00. Angelokumo 18,421 views.
- Dev C Yes Or No Question Game
Dec 18, 2014 Doing a project in C. Nov 09, 2014 When I type yes or no, the 'You are coorect!' And 'You are wrong:DDDDDDD' appear at the same time, how do I make my program make the text appear when I type yes. Firebird vst free full download.
Dev C Yes Or No Question Game
P: 8 | Hi, i have a bit of a problem here. I have an assignment to do an animal guessing game using an original database and updating it as the user enters new animals in it. The program enters the file data into an array of structures, with the animal and question in the same variable(question) and the bool isAnimal tells me whether its an animal or a question. If its a question it is followed by two numbers; one for the position of the line to go to if the user enters 'no' and another for 'yes'. The program works fine until the user inputs 'no' for a new animal(updated animal) after he enters yes for a new question(that he entered the last time to differentiate between animals). Here is the code, and sorry if the variable names are bad. Im using windows xp and visual c++ 2005. - *snipped by Moderator*
- if(answer1 'yes')
- cout<<' I WIN!!!'<<endl << endl;
- else
- if(answer1 'no')
- {
- cout << ' I give up, what were you thinking of?' <<endl;
- cin >> game[x].question;
- game[x].isAnimal = true;
- x++;
- cout<< 'Please type a question that has a yes answer for '<< game[x - 1].question
- << endl << ' and a no answer for ' << game[game[c].no].question << ' (without a question mark):' << endl;
- cin.ignore();
- getline(cin, game[x].question);
- game[x].isAnimal = false;
- game[x].no = game[c].no;
- game[x].yes = x - 1 ;
- game[c].no = x;
- x++;
- }
- *snipped by Moderator*
|
|