I know on telnet when i script i do this:
script *FilenameOfScript*
cat *FilenameIWantToScript*
But i don't understand how i do it in DOS...
Anyone know how to?
Type: Posts; User: daedenilus
I know on telnet when i script i do this:
script *FilenameOfScript*
cat *FilenameIWantToScript*
But i don't understand how i do it in DOS...
Anyone know how to?
I have to use getchar(c) or getc(stdin), i'm still having problems with typing in a string of characters, i did modify all my loops to (do/while)/Switch, and i've compensated for the initial "Invalid...
Okay, I've looked through the FAQ's regarding getchar, most if it is a above my level, and the stuff that isn't does not help me at all.
I've been working on this for the pas 6-7hrs and I'm not...
okay, i just resolved the problem of the "invalid response" coming up, but i'm still trying to figure out how to stop 'Yes' or any other strings of characters from bring up multiple "invalid...
can you point me in the direction for what i should look up to fix this problem.
With my posted code... After i input the patient's number "453282" and the program checks it and finds that it's a valid number, it hits symptom portion of my code, for some reason, it goes directly...
I don't quite understand how EOF applies to an input from a keyboard, and will getchar() take care of only the first letter of the string, and ignore the rest so it doesn't carry it down through the...
we haven't been introduced to the fflush or comparing to EOF. I'm restricted to material up to a certain point, i'm googled getc & getchar. I got confused on most of it
just not very well at times
I'm currently enrolled in a ANSI C course at my college and i'm having an issue with a particular portion of the assignment...
The Overview:
The user needs to be able to input a 'y', 'Y', 'n',...