Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Parsing a simple string

Reply
Thread Tools

Parsing a simple string

 
 
pete
Guest
Posts: n/a
 
      05-10-2006
mathieu wrote:
>
> I am saying that:
>
> if( s[0] < '0' || s[0] > '9'
> || s[1] < '0' || s[1] > '9'
> || s[2] < '0' || s[2] > '9' )
> {
>
> is equivalent to my previous post with the call of isdigit. But as far
> as understand it should not suffer from the unsigned char cast,
> right ?


Right.

--
pete
 
Reply With Quote
 
 
 
 
Richard Bos
Guest
Posts: n/a
 
      05-11-2006
"mathieu" <> brokenly-Google-Grouped:

> I am saying that:
>
> if( s[0] < '0' || s[0] > '9'
> || s[1] < '0' || s[1] > '9'
> || s[2] < '0' || s[2] > '9' )
> {
>
> is equivalent to my previous post with the call of isdigit. But as far
> as understand it should not suffer from the unsigned char cast, right ?


There is no unsigned char cast in that code, so no, it doesn't suffer
from any unsigned char casts.

Richard
 
Reply With Quote
 
 
 
 
mathieu
Guest
Posts: n/a
 
      05-11-2006
Sorry for that. I'll keep that in mind. I did vote for the feature
request at:

http://groups-beta.google.com/suppor..._type=features

Thx
-M

 
Reply With Quote
 
Flash Gordon
Guest
Posts: n/a
 
      05-11-2006
mathieu wrote:
> Sorry for that.


Sorry for what? Provide context please when quoting. There are links at
http://clc-wiki.net/wiki/Intro_to_clc to sites with instructions.

> I'll keep that in mind. I did vote for the feature
> request at:
>
> http://groups-beta.google.com/suppor..._type=features


Vote for which feature? Google being separated from Usenet so we don't
get all these context-less posts?
--
Flash Gordon, living in interesting times.
Web site - http://home.flash-gordon.me.uk/
comp.lang.c posting guidelines and intro:
http://clc-wiki.net/wiki/Intro_to_clc

Inviato da X-Privat.Org - Registrazione gratuita http://www.x-privat.org/join.php
 
Reply With Quote
 
mathieu
Guest
Posts: n/a
 
      05-11-2006
> Vote for which feature? Google being separated from Usenet so we don't
> get all these context-less posts?


Ok I said, I apologized.
What do you do when you only have read access to the newsgroups,
google.groups is very convenient solution, not perfect yet, that's all.

 
Reply With Quote
 
Keith Thompson
Guest
Posts: n/a
 
      05-11-2006
"mathieu" <> writes:
> Sorry for that. I'll keep that in mind. I did vote for the feature
> request at:
>
> http://groups-beta.google.com/suppor..._type=features


I *think* you're saying you voted for the "Default quoting of previous
message in replies" feature. Thanks for that, but it's ironic that
you mention this while not using the simple workaround that lets you
do this in spite of Google's broken interface. (And in a later
followup in this thread, you quote a previous article but snip the
attribution line.)

You *have* read <http://cfaj.freeshell.org/google/>, right?

--
Keith Thompson (The_Other_Keith) kst- <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
 
Reply With Quote
 
SM Ryan
Guest
Posts: n/a
 
      05-13-2006
And incessant whining about Google has what to do with
the programming language C?


Flash Gordon <> wrote:
# mathieu wrote:
# > Sorry for that.
#
# Sorry for what? Provide context please when quoting. There are links at
# http://clc-wiki.net/wiki/Intro_to_clc to sites with instructions.
#
# > I'll keep that in mind. I did vote for the feature
# > request at:
# >
# > http://groups-beta.google.com/suppor..._type=features
#
# Vote for which feature? Google being separated from Usenet so we don't
# get all these context-less posts?
# --
# Flash Gordon, living in interesting times.
# Web site - http://home.flash-gordon.me.uk/
# comp.lang.c posting guidelines and intro:
# http://clc-wiki.net/wiki/Intro_to_clc
#
# Inviato da X-Privat.Org - Registrazione gratuita http://www.x-privat.org/join.php
#
#

--
SM Ryan http://www.rawbw.com/~wyrmwif/
Mention something out of a Charleton Heston movie, and suddenly
everybody's a theology scholar.
 
Reply With Quote
 
Keith Thompson
Guest
Posts: n/a
 
      05-13-2006
SM Ryan <> writes:
> And incessant whining about Google has what to do with
> the programming language C?


It makes it possible to discuss it coherently.

I see you've decided to start top-posting. I can't say I'm surprised.

--
Keith Thompson (The_Other_Keith) kst- <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
 
Reply With Quote
 
Default User
Guest
Posts: n/a
 
      05-13-2006
Keith Thompson wrote:

> SM Ryan <> writes:
> > And incessant whining about Google has what to do with
> > the programming language C?

>
> It makes it possible to discuss it coherently.
>
> I see you've decided to start top-posting. I can't say I'm surprised.


Trolls tend to degenerate as their current bag o' tricks gets stale. I
killfiled him long ago over past antics.



Brian
 
Reply With Quote
 
mathieu
Guest
Posts: n/a
 
      05-17-2006

Keith Thompson wrote:
> I *think* you're saying you voted for the "Default quoting of previous
> message in replies" feature. Thanks for that, but it's ironic that
> you mention this while not using the simple workaround that lets you
> do this in spite of Google's broken interface. (And in a later
> followup in this thread, you quote a previous article but snip the
> attribution line.)


I'll make sure to keep attribution line, too. Thx

-M

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple error : method format(String, Object[]) is not applicable for the arguments (String, String) ankur Java 1 08-27-2007 06:31 AM
simple string parsing question Marc E Java 2 04-08-2007 01:45 AM
simple string parsing ? TAG Python 8 09-10-2004 09:40 AM
Re: simple string parsing ? TAG Python 1 09-09-2004 09:06 PM
Perl expression for parsing CSV (ignoring parsing commas when in double quotes) GIMME Perl 2 02-11-2004 05:40 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57