It's pretty obvious he was getting very frustrated, wasn't thinking clearly... and likely has a problem following instructions to begin with.
Coders with that temperment don't last long... but I'm...
Type: Posts; User: CommonTater
It's pretty obvious he was getting very frustrated, wasn't thinking clearly... and likely has a problem following instructions to begin with.
Coders with that temperment don't last long... but I'm...
I know... sometimes I can be such an idealist... :frown:
(Realizing that post #14 was the first time we saw his actual code, which was not my suggestion at all...)
Yeah well... don't let the door hit yer backside on the way out...
With that kind of temper, we don't need you here at all... You never once followed my examples or instructions... and the...
If you want a 4 th case... use a 4th case...
int main(void)
{
menu();
while (1)
{
switch (getchar())
Go back and look at post #9 ... I tested that on my own system and it works just fine.
Stop reposting what I posted... Post your *actual* code... lets see what you are doing wrong!
What exactly did you try?
The example I gave you is a skeletal version of code I use in real world programming. I know it works.
#include <stdio.h>
int main(void)
{
If you are only getting a single character use...
int quit = 0;
while (! quit)
{
// display menu
switch ( getchar() )