Since 4/15/2012 10:22:03 AM, esosman has written 1 articles and participated in 1334 conversations. esosman signature: esosman
esosman's articles:
Items(1) /1
EMPTY_SET.iterator() and generics1233 (2/22/2007 7:38:06 PM) comp.lang.java.programmer In the old days, before generics, I wrote private SortedSet onhand; Iterator getInventoryIterator() { return (onhand == null ? Collections.EMPTY_SET ? onhand) .iterator(); } .... the i... Eric
what's this?1230 (6/24/2007 8:46:32 PM) comp.lang.c struct filo{ float p; }; typedef int (*func)filo, int); int main(void){ func(-1); //Hmmm. what's this? return 0; } why is func(-1) working? Actually, I found this (equivalent code) in DON BOX's ... bakzam(7)
Extern Variable...549 (6/25/2007 1:25:04 PM) comp.lang.c Can we declare extern variable as static? What will be the scope of the variable then? What if we change the value of the variable in some other function? Also can someone tell me that if we can declare the gl... shraddhajoshi84(45)
Too Many Open Files --- error 241339 (6/26/2007 11:38:11 AM) comp.unix.programmer I have ulimit for shell /plimit for process (for no of file descr) set to 65535 /etc/system contains (after reboot) set rlim_fd_cur=65535 set rlim_fd_max=65535 My Process (32-bit) still get error 24, doing ... raxitsheth2000863(74)
check if a variable is time_t1150 (6/26/2007 6:21:28 PM) comp.unix.programmer Hi group, I have to cast a void pointer to a known structure pointer which contains (among other fields) a time_t variable and I'm writing a function to perform a sanity check on the casted data. Which is the... gahr(143)
about argc and argv1123 (6/27/2007 7:16:57 PM) comp.lang.c hi all, please tell me with example, how the *argv[] point to the the no of strings. ... goelvicky(10)
call back functions...1236 (6/28/2007 9:57:06 AM) comp.lang.c I am looking for some comprehensive tutorials on how to write call back functions in C. Can anyone help me? - sameer oak. ... sameer.oak(1)
I need some ideas on how to go about creating files....1027 (6/29/2007 2:16:40 AM) comp.unix.programmer Program A reads in a file. However, Program A dictates the the person creates an input file. After the person creates the file, they have to change the following lines to the path of the file they created. #de... cdalten(976)
The machine epsilon5123 (6/29/2007 8:08:40 AM) comp.lang.c Hi. Continuing with my tutorial, here is an entry I have added recently. I hope it is not controversial. If you see any errors/ambiguities/etc please just answer in this thread. Thanks in advance for your he... jacob(2538)
problem with a casted pointer1529 (6/29/2007 11:10:31 AM) comp.lang.c -------------------------------My dud program------------------------------------------ #include #include typedef struct dummy{ int x, y, z; }point; int main() { point a = {1, 2, 3}; int *p = (int ... tpk1024(6)
Machine epsilon: conclusion4630 (6/30/2007 1:54:59 PM) comp.lang.c Following the discussion about the machine epsilon, I have modified the text as follows. I thank all people that contributed. It was interesting, and I surely learned stuff I did not consider before. ---------... jacob(2538)