Dear All,
I have a function with input parameter as const u_char *p. So when I write like this printf("\n\n Char value p : %.2x",(unsigned int)p[1]). It gives me a hex value. How to print the whole p value which method is best to use. I need to analyse it as this supposed to represent a network data packet.
newbie14 0 Posting Pro
histrungalot 32 Junior Poster
newbie14 0 Posting Pro
Ab000dy_85 -3 Junior Poster in Training
newbie14 0 Posting Pro
histrungalot 32 Junior Poster
newbie14 0 Posting Pro
Ab000dy_85 -3 Junior Poster in Training
newbie14 0 Posting Pro
Ab000dy_85 -3 Junior Poster in Training
Ab000dy_85 -3 Junior Poster in Training
histrungalot 32 Junior Poster
newbie14 0 Posting Pro
newbie14 0 Posting Pro
histrungalot 32 Junior Poster
newbie14 0 Posting Pro
histrungalot 32 Junior Poster
Ab000dy_85 -3 Junior Poster in Training
newbie14 0 Posting Pro
newbie14 0 Posting Pro
histrungalot 32 Junior Poster
newbie14 0 Posting Pro
newbie14 0 Posting Pro
histrungalot 32 Junior Poster
newbie14 0 Posting Pro
histrungalot 32 Junior Poster
newbie14 0 Posting Pro
histrungalot 32 Junior Poster
newbie14 0 Posting Pro
histrungalot 32 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.