Message-ID: <388B34AB.CA34EBD9@ou.edu> From: David Cleaver X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Weird output of printf() Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 15 Date: Sun, 23 Jan 2000 11:04:43 -0600 NNTP-Posting-Host: 129.15.140.115 X-Complaints-To: usenet AT ou DOT edu X-Trace: news.ou.edu 948647012 129.15.140.115 (Sun, 23 Jan 2000 11:03:32 CST) NNTP-Posting-Date: Sun, 23 Jan 2000 11:03:32 CST Organization: The University of Oklahoma To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello again everyone, First, I want everyone to know I'm using DJGPP v2.03. OK, now, recently I've tried to use the printf() function to print out the hex values of some unsigned char's that I have. However, I'm not sure that it always did just that. Let me give you an example: { 0xbc, 0xf, 0}, This is part of the output of the program. My question is, WHAT does "0xf" mean????????? That doesn't quite look like any hex code for a char that I've ever seen before. Any help that you can give will be greatly appreciated. -David C.