Re: What does this mean?
- From: "Nick Keighley" <nick_keighley_nospam@xxxxxxxxxxx>
- Date: 17 Jan 2007 05:49:41 -0800
prabu wrote:
I want to know, what does the value of the array in the following
statement mean
well its an array of unsigned char, initialised with a string. The
string
contains hex values. It includes nul characters ('\0') so you can't
manipulate it using str* functions.
I'm not sure what you mean by "what does the value of the array
"mean"".
How can a value "mean" anything? Some of it could be ASCII try
translating it.
and How to print the content of the array SMB_Negotiate
using printf?
a for loop and %x format specification?
unsigned char SMB_Negotiate[] =
"\x00\x00\x00\x85\xFF\x53\x4D\x42\x72\x00\x00\x00\x00\x18\x53\xC8"
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xFF\xFE"
"\x00\x00\x00\x00\x00\x62\x00\x02\x50\x43\x20\x4E\x45\x54\x57\x4F"
<snip>
--
Nick Keighley
A ruby trembled. Two tourmaline nets failed to rectify the laser beam.
A diamond noted the error. Both the error and the correction went into
the general computer.
Corwainer Smith "The Dead Lady of Clown Town"
.
- References:
- What does this mean?
- From: prabu
- What does this mean?
- Prev by Date: Re: About rand()
- Next by Date: Re: Best Place to Define TRUE/FALSE
- Previous by thread: Re: What does this mean?
- Next by thread: Re: What does this mean?
- Index(es):
Relevant Pages
|