phusion

phusion_irc.log
<phusion> +100 char
<teatime> That would be 'd', my good man.
...
<phusion> you lost me paul

   :(
phusion.c
/* paul prince, 2011-01-13
    see also (inspired by):
     http://bytes.com/topic/c/answers/477545-unsigned-char-char-print
       */
#include <stdio.h>   
 
int main(void) {
 
	signed    char	foo_s	=   100;
	signed    char	bar_s	=   'd';
	unsigned  char	foo_us	=   100;
	unsigned  char	bar_us	=   'd';
 
        printf("signed:\n\tfoo_s = 0x%x(%d) aka '%c'.\n\tbar_s = 0x%x(%d) aka '%c'.\n",
			foo_s,foo_s,foo_s,	bar_s,bar_s,bar_s	);
 
	printf("unsigned:\n\tfoo_us = 0x%x(%d) aka '%c'.\n\tbar_us = 0x%x(%d) aka '%c'.\n",
			foo_us,foo_us,foo_us,	bar_us,bar_us,bar_us	);
 
	return 0;
}
phusion_terminal_session.log
pprince@flake ~/phusion/new % gcc -o phusion phusion.c
pprince@flake ~/phusion/new % ./phusion
signed:
	foo_s = 0x64(100) aka 'd'.
	bar_s = 0x64(100) aka 'd'.
unsigned:
	foo_us = 0x64(100) aka 'd'.
	bar_us = 0x64(100) aka 'd'.
pprince@flake ~/phusion/new % 
Navigation
Print/export
Toolbox