Re: sscanf in c#
- From: "Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx>
- Date: Wed, 20 Sep 2006 00:23:00 +0200
"AMP" <ampeloso@xxxxxxxxx> wrote in message
news:1158702904.487132.326350@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
| Also, theres this qualifier (3), which is the max number to read, in
| the following that I would have to deal with.
| sscanf(strdata[linepos], "%3x", blkout[dataframelen]);
|
| I appreciate EVERONES help with this.
|
|
string strdata = " ffc2fffe Hello ";
uint hexVal;
UInt32.TryParse(installResult.Substring(1, 3), NumberStyles.HexNumber, null,
out hexVal);
hexVal will contain 000000ffc;
But why don't you read the docs and try yourself?, it takes 5 minutes to
test all your cases, waiting for an answer may take hours.
Willy.
.
- Follow-Ups:
- Re: sscanf in c#
- From: AMP
- Re: sscanf in c#
- References:
- sscanf in c#
- From: AMP
- Re: sscanf in c#
- From: Willy Denoyette [MVP]
- Re: sscanf in c#
- From: Mythran
- Re: sscanf in c#
- From: Willy Denoyette [MVP]
- Re: sscanf in c#
- From: Mythran
- Re: sscanf in c#
- From: Willy Denoyette [MVP]
- Re: sscanf in c#
- From: Mythran
- Re: sscanf in c#
- From: AMP
- Re: sscanf in c#
- From: AMP
- sscanf in c#
- Prev by Date: Re: sscanf in c#
- Next by Date: How to typecast the first object from an IEnumerable?
- Previous by thread: Re: sscanf in c#
- Next by thread: Re: sscanf in c#
- Index(es):
Relevant Pages
|
Loading