linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sapuglha <sapuglha@yahoo.com.br>
To: Sandro Dangui <sdangui@nortelnetworks.com>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: Newbie Question -> writing Hexadecimal values
Date: Thu, 25 Sep 2003 18:38:21 -0300	[thread overview]
Message-ID: <20030925183821.25ac0b25.sapuglha@yahoo.com.br> (raw)
In-Reply-To: <31E38B53D182D51195FA00508BE3A33402C13BBE@zwnbc004.cala.nortel.com>

It worked. Thank you all.

Maybe on Thu, 25 Sep 2003 18:36:09 -0300
Sandro Dangui wrote:

| char strValue[] = {"3e"};
| int value;
| 
| if (sscanf(strValue, "%x", &value) == 1) // converts.
| {
| 	fprintf(test, "%c", value);
| }

-- 
 
=> Tiago Sant' Anna - UIN: 14252973 - Linux user #136940
	[.. ..]

  reply	other threads:[~2003-09-25 21:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-25 21:36 Newbie Question -> writing Hexadecimal values Sandro Dangui
2003-09-25 21:38 ` Sapuglha [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-09-25 21:11 Sapuglha
     [not found] ` <3F735CC4.5030507@ig.com.br>
2003-09-25 21:35   ` Sapuglha
2003-09-25 22:36     ` Jeff Woods

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030925183821.25ac0b25.sapuglha@yahoo.com.br \
    --to=sapuglha@yahoo.com.br \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=sdangui@nortelnetworks.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).