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



Charlie Gordon wrote:

.... snip ...

But your code is obscure and incorrect, makes use of cumbersome
constructs such as comparing EOF to an unsigned int... There must
be a more effective way to educate the OP.

You didn't bother to quote any 'offensive' code, so I cannot
comment. I did mark it as untested. I don't agree that any of my
code is cumbersome.

--
Chuck F (cbfalconer at maineline dot net)
<http://cbfalconer.home.att.net>
Try the download section.



--
Posted via a free Usenet account from http://www.teranews.com

.



Relevant Pages

  • Re: how can we check to not enter the any string or char?
    ... But your code is obscure and incorrect, makes use of cumbersome ... constructs such as comparing EOF to an unsigned int... ... this is intended to ensure the value fits into an unsigned int. ...
    (comp.lang.c)
  • Re: how can we check to not enter the any string or char?
    ... But your code is obscure and incorrect, makes use of cumbersome ... constructs such as comparing EOF to an unsigned int... ... And I am not going to bother with google to check. ...
    (comp.lang.c)
  • Re: how can we check to not enter the any string or char?
    ... But your code is obscure and incorrect, makes use of cumbersome ... constructs such as comparing EOF to an unsigned int... ... because the original post is long gone from ... And I am not going to bother with google to check. ...
    (comp.lang.c)
  • Re: a problem
    ... or, a fancier one, ... it becomes more cumbersome: ... int n = 15; ... Faton Berisha ...
    (comp.lang.java.programmer)