Re: how can we check to not enter the any string or char?



In <fgaqg3$fif$1@xxxxxxxx> santosh <santosh.k83@xxxxxxxxx> writes:

John Gordon wrote:

string input[80];

What is this 'string' type?

Oops! My mistake, should be 'char' instead of course.

What about input like 23.3 or 34&%$3 and other combinations?

My intent was to demonstrate a concrete yet minimal solution upon which
the OP could improve, not to provide absolute final rock-solid code.

--
John Gordon A is for Amy, who fell down the stairs
gordon@xxxxxxxxx B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"

.



Relevant Pages

  • Re: Ratchs evidence criterion revisited.
    ... Statement by G.W. Bush from above link. ... The expression "leaves no doubt" leaves no doubt as to the intent ... The extression "some of the most lethal weapons ever devised" ... mistake for G. W. Bush but not for Idi Amin, Hitler, Stalin or even ...
    (alt.lang.asm)
  • Re: JSH: SF: Does this work?
    ... equations you started with, a unique solution exists. ... assuming you had a free choice in an area where the equations didn't ... The mistake you actually made was easily explained. ... Is it your intent to prove you're not one of them? ...
    (sci.math)
  • Re: Rules situations are RSG Cincinnati
    ... mistake that was none of his doing. ... Let's discuss intent. ... Is it intentional when you hit a ball into a water hazard? ... the fact that you'd waive the 14 club rule ...
    (rec.sport.golf)
  • Re: Boolean Buyers Beware ... AIX compiler bug --- PMR 26241,756
    ... I disagree - a char + comment expresses the intent just as well. ... I just hate coding to the personality of some frankenstein compiler. ... I think the exorcism you seek is for the IBM compiler. ...
    (comp.programming.threads)
  • Re: Bush lied to start two wars and young Americans are being maimed and killed for it.
    ... leaves no doubt as to the intent of the US President. ... deliberately lying as he has ruled out being mistaken. ... Mistake!= intent to deceive ...
    (alt.lang.asm)