MAzerunner menu help

 
Thread Tools Search this Thread
Homework and Emergencies Homework & Coursework Questions MAzerunner menu help
# 1  
Old 05-07-2011
Bug MAzerunner menu help

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:
I have all the functions working for the game but dont know how to make the menu or even start should i use a dat file and how do i get it to display like a game menu it suppose to go the levels 0,1,2, and 3


2. Relevant commands, code, scripts, algorithms:



3. The attempts at a solution (include all code and scripts):
#include <stdio.h>
#include "display.h"
#include <stdlib.h>
main()
{system(system.dat)
{
}
char c;



while(c != 'q'){
switch(c){

case '0': level0


case '1': level1

case '2': level2

case '3': level3
}
}



4. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):


Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Gnome 3.28.3 menu item dissapears under the system menu

I installed CentOS 8 with Gnome 3.28.2 and I noticed that the "switch user" menu item disappeared from under the system menu of Gnome classic (Both X11 & Wayland). I checked google and this problem seems to have a history going back several releases of Gnome. Unfortunately, I never found a... (1 Reply)
Discussion started by: bodisha
1 Replies

2. Shell Programming and Scripting

Returning to menu

i have my script all setup but what i was wanting to know is, after a choice has been made on the menu and it completes, what command can i type in to return to the menu of the script. with my script, when a command is finished, it just asks me to input my choice but it doesn't show the menu. any... (3 Replies)
Discussion started by: hotshot247
3 Replies

3. Shell Programming and Scripting

Need help in create menu with 3 sub menu using the case command

hi all i am a newbie to this is there any examples on creating a main menu with 3 sub menu main menu -> option a , b and c a menu -> option 1 ,2 and 3 b menu -> option 1 ,2 c menu -> option 1 ,2 i am getting headache as my code kept getting unexpected EOF ---------- Post... (0 Replies)
Discussion started by: chercm
0 Replies

4. Shell Programming and Scripting

Menu with sub-menu options

Hi! I have created on script which is working fine with menu options and with a sub-menu. I want to enhance it by using sub-options under menu options. Like. option 1) will give the list only. option 1.1) should give the option to user to choose one file, whose content user wanna see. ... (3 Replies)
Discussion started by: sukhdip
3 Replies

5. Homework & Coursework Questions

mazerunner HW help

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: i know what to use for this part but i dont know where to add it. the program just move the mouse throughout the... (0 Replies)
Discussion started by: mgyeah
0 Replies

6. Shell Programming and Scripting

Menu in Menu script issue

Problem: I am trying to create a menu in a menu script and I am running into an issue with the calculator portion of the script. I am first presented with the ==Options Menu== which all 5 options working correctly. Now comes the fun part. I select option 1 which takes me to my ==Calculator... (1 Reply)
Discussion started by: iDdraig
1 Replies

7. Shell Programming and Scripting

Colorful Menu

I know how to create a menu using select and case. What i want to know is,how can i create a menu using select and case where the menu options are in colored text? ---------- Post updated at 02:50 AM ---------- Previous update was at 02:42 AM ---------- if the menu options are like: 1)... (5 Replies)
Discussion started by: proactiveaditya
5 Replies

8. Shell Programming and Scripting

Get a value from menu.

Hi, I have a shell-script (in bash) wich read from a file this: 1 Telediario 1 2009012609000 2 Mira quien baila 2009012511000 3 No mas 2009012603000 ..... ..... 12 Quiero ser tu 20090127113000 13 Al igual que 20090127130000 ........ (2 Replies)
Discussion started by: mierdatuti
2 Replies

9. Shell Programming and Scripting

Menu

How do i make a menu... I need to be able to select options that run scripts that i make. like displaying/adding/sorting/deleting records of a file. i have the displaying part down but I want to make the menu now then i'll figure out the deleting/adding/sorting. (5 Replies)
Discussion started by: space
5 Replies
Login or Register to Ask a Question
std::hash< _Tp >(3cxx)													    std::hash< _Tp >(3cxx)

NAME
std::hash< _Tp > - SYNOPSIS
Inherits std::__hash_base< _Result, _Arg >. Public Types typedef _Arg argument_type typedef _Result result_type Public Member Functions size_t operator() (_Tp __val) const template<> size_t operator() (bool __val) const template<> size_t operator() (char __val) const template<> size_t operator() (signed char __val) const template<> size_t operator() (unsigned char __val) const template<> size_t operator() (wchar_t __val) const template<> size_t operator() (char16_t __val) const template<> size_t operator() (char32_t __val) const template<> size_t operator() (short __val) const template<> size_t operator() (int __val) const template<> size_t operator() (long __val) const template<> size_t operator() (long long __val) const template<> size_t operator() (unsigned short __val) const template<> size_t operator() (unsigned int __val) const template<> size_t operator() (unsigned long __val) const template<> size_t operator() (unsigned long long __val) const template<> size_t operator() (float __val) const template<> size_t operator() (double __val) const template<> size_t operator() (long double __val) const Detailed Description template<typename _Tp>struct std::hash< _Tp > Primary class template hash. Definition at line 58 of file functional_hash.h. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Nov 27 2012 std::hash< _Tp >(3cxx)