![]() |
|
#1
|
|||
|
|||
problem with switchesi am having problem with this switch i made. it is the first time i have ever made one and am doing it for an assignment in a class. once the menu pops up at the very beginning you can enter a variable listed to have it do certain things. everything works fine except every time it has finished doing what is in each case it prints the menu out once, then prints the default, and the menu once more. it still works after that but i dont understand why it prints the menu and default out like it does. i have asked my teacher but he does not know whats wrong with it either. could somebody on this forum please tell me how to fix the problem, or correct it and tell me whats wrong with it.
thanks ================================================== ====== CPP / C++ / C Code:
Last edited by LuciWiz : 31-May-2005 at 14:28.
Reason: Please insert your C code between [c] & [/c] tags
|
|
#2
|
|||
|
|||
|
http://www.gidforums.com/t-4272.html - Scroll down a bit for a discussion on scanf
|
|
#3
|
|||
|
|||
|
Quote:
thank you, i never knew they didnt handle characters very well. my instructor even said that we were supposed to do the assingment using characters, i was the only one who actually did though. |
Recent GIDBlog
Developing GUIs with wxPython (Part 3) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Graphic problem in Unreal Tournament 2004 | zerox | Computer Software Forum - Games | 10 | 09-Oct-2005 12:31 |
| commands out of sync problem (c++ builder) | Largowww | MS Visual C++ / MFC Forum | 0 | 28-May-2005 03:40 |
| String problem | vaha | C Programming Language | 3 | 24-May-2005 18:21 |
| Css design problem | JUNK KED | Web Design Forum | 4 | 25-Jan-2005 17:45 |
| Another FX 5600 problem (but with details that might shed light on this) | BobDaDuck | Computer Hardware Forum | 2 | 16-Apr-2004 07:53 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The