Sounds like some dodgy Turbo C compiler or library behaviour. What you've written should work fine.
Beware that getchar() blocks until you hit enter. So
c = getchar();
Will put whatever...
Type: Posts; User: smokeyangel
Sounds like some dodgy Turbo C compiler or library behaviour. What you've written should work fine.
Beware that getchar() blocks until you hit enter. So
c = getchar();
Will put whatever...