While Steven was reading other messages, Vadim Ryzhankov wrote:
VR> Hello Steven.
Hello Vadim...
JE>> puts("You have Just been Stung\n");
VR> ^^^^ It is a Turbo C
Never used puts before... but then, I have learned more of C++ than C...
teacher isn't teaching C that much...
JE>> puts("And your face is now swollen\n");
SL> main()
SL> {
SL> cout << "You have Just been Stung" << endl;
VR> ^^^^ It is not a Turbo C, it is a C++!
/* Yep... I almost always use cout and cin... */
SL> // next line delays the line after that for so many
SL> milliseconds.
SL> delay (400);
VR> ^^^^^ I agree with you. This give us pause in
VR> milliseconds, but if we want pause in seconds, we must use "sleep
VR> (unsigned seconds)".
That, I don't know... never used sleep before... would it be under
dos.h or stdlib.h?
SL> cout << "And your face is now swolen"
VR> }
VR> It seems to me, than author want to ask about control pause. Am I
VR> mistaken?
It is possible... but we would have to ask the author to be more specific.
Steven Lei
From: Las Vegas, Nevada, USA
E-mail = SpewMuffin@Juno.Com
... oOo This oOo screen oOo needs oOo to oOo be oOo debugged!
___ Blue Wave/DOS v2.30 [NR]
--- Hyper No Mo Mail!
---------------
* Origin: (1:209/218)
|