Since 5/5/2012 4:16:41 AM, eporreca has written 6 articles and participated in 4 conversations. eporreca signature: eporreca
eporreca's articles:
Items(6) /1
Typedef'ing a function #3033 (6/4/2005 2:15:15 PM) comp.lang.c Is the following a legal typedef? (gcc -Wall -ansi -pedantic says it's ok) typedef void Callback(void *obj); I mean "a Callback is a function taking void * and returning void" (not "a pointer to function")... Enrico
Typedef'ing a function #2041 (6/4/2005 2:07:55 PM) comp.lang.c Is the following a legal typedef? (gcc -Wall -ansi -pedantic says it's ok) typedef void Callback(void *obj); I mean "a Callback is a function taking void * and returning void" (not "a pointer to function"... Enrico
Typedef'ing a function244 (6/4/2005 2:05:11 PM) comp.lang.c Is the following a legal typedef? (gcc -Wall -ansi -pedantic says it's ok) typedef void Callback(void *obj); I mean "a Callback is a function taking void * and returning void" (not "a pointer to function"... Enrico
Request for comments on CLOS code1225 (8/27/2004 10:19:51 PM) comp.lang.lisp The following is one of my first experiments with the Common Lisp Object System: the implementation of a FIFO queue. I'd like to hear your comments (of any kind) about my code. (defclass queue () ((head :... Enrico
Compiler bug?526 (6/17/2004 7:35:28 PM) comp.lang.c It seems to me that the Visual Studio C compiler (both 6.0 and 2003), which claims ANSI/ISO conformance, has a nasty bug involving sizes of pointers to arrays. The following code: #include int m... Enrico
Printing an unsigned char638 (6/4/2004 4:27:49 PM) comp.lang.c Suppose I wanted to print an unsigned char (in hex). Should I say: unsigned char x = 0x12; printf("%X\n", x); or printf("%X\n", (unsigned) x); ? If understand it correctly, x is converted t... Enrico
eporreca's replies:
Items(3) /1
Printing an unsigned char638 (6/4/2004 4:27:49 PM) comp.lang.c Suppose I wanted to print an unsigned char (in hex). Should I say: unsigned char x = 0x12; printf("%X\n", x); or printf("%X\n", (unsigned) x); ? If understand it correctly, x is converted t... eporreca(10)
Compiler bug?526 (6/17/2004 7:35:28 PM) comp.lang.c It seems to me that the Visual Studio C compiler (both 6.0 and 2003), which claims ANSI/ISO conformance, has a nasty bug involving sizes of pointers to arrays. The following code: #include int m... eporreca(10)
Request for comments on CLOS code1225 (8/27/2004 10:19:51 PM) comp.lang.lisp The following is one of my first experiments with the Common Lisp Object System: the implementation of a FIFO queue. I'd like to hear your comments (of any kind) about my code. (defclass queue () ((head :... eporreca(10)