What happened to some regulars?826 (8/20/2011 1:31:21 PM) comp.lang.c Revisiting after quite a long while, I find both CBFalconer and Richard Heathfield conspicuous by their absence. Does anyone have any information on why they're no longer participating in this group? Does this... santosh
diagnostic message533 (7/31/2008 5:48:01 PM) comp.lang.c We are given the definition of a "diagnostic message" in 3.10 of the Standard. To quote: 3.10 1 diagnostic message message belonging to an implementation-defined subset of the implementation's message ou... santosh
Write in C!235 (6/29/2008 6:54:19 AM) comp.lang.c Found this on the Web. I have to say: nice little poem. :-) ... santosh
Direct computation of integer limits in K&R2?9931 (3/11/2008 9:37:48 PM) comp.lang.c Hello all, In K&R2 one exercise asks the reader to compute and print the limits for the basic integer types. This is trivial for unsigned types. But is it possible for signed types without invoking undefined b... santosh
Actual type of intmax_t and uintmax_t932 (12/1/2007 1:34:53 PM) comp.lang.c Hello all, In section 7.18.1.5 the Standard says that intmax_t and uintmax_t designate signed and unsigned integer types capable of representing any value of any signed or unsigned integer type, respectively. ... santosh
Uses of setvbuf()1026 (1/5/2007 4:46:43 PM) comp.lang.c Which situations call for the use of setvbuf(), specifically when you supply the buffer yourself? What is the advantage of an user specified buffer over an automatically allocated one? Can we call setvbuf() on ... santosh
Critic of the given code.2229 (5/26/2006 1:11:14 PM) comp.lang.c I've written the following function to return a string of arbitrary length from stdin. So far, it seems to work as it should. Are there any unportable assumptions and/or logical errors in the code? Would it be ... santosh
stdint types and conversion...1140 (3/25/2006 12:30:08 PM) comp.lang.c Hello all, Conversion macros along the name of INT8_C, INT16_C etc, are defined in stdint.h to convert their argument into suitable representations for their corresponding types, i.e. int8_t, int16_t etc. My ... santosh
Help with program crashing...926 (1/19/2006 8:30:47 AM) comp.lang.c Hello all, I've put together a small program to count the number of characters and 'words' in a text file. The minimum length of a word, (in terms of no. of characters), as well as word delimiting characters c... santosh
Multiple indirection mess-up...1934 (12/18/2005 4:13:11 PM) comp.lang.c Hi all, In the following program I allocate a block of pointers to type char, initialised to zero. I then point each of those pointers to a block of allocated memory of fixed size (33 bytes). A unique 'string'... santosh
Any exit status without explicitely using return /exit2435 (2/24/2010 8:27:04 AM) comp.lang.c This actually bugging me from quite sometime now.The question is like this : How to set the the exit status of a program to any value without explicitly using return/exit in gcc ? Let us consider this piece of... debanjan4you(25)
C99 is widely used!3250 (2/24/2010 12:37:38 PM) comp.lang.c One of the most often "arguments" against C99 in this group is that "There is no embedded system support", etc. A typical message is this one of "gwowen": gwowen a �crit : > On Feb 24, 11:05 am, Richard wro... jacob24(973)
What is the explanation?3448 (2/27/2010 6:16:14 AM) comp.lang.c Hi, Can anyone explain what is happening? int x=0; srand (time(NULL)); for (int i=0;i <100; i++) {x =rand ()%9; if ( x !=( 7||8)) printf ("%d ",x); } Result of Print 5 8 7 4 8 3 0 7 2 8 2 7 6 7 5 7 8 3 0 0 6 ... tskhoon(58)
What is wrong with my program?3034 (2/27/2010 7:33:06 AM) comp.lang.c Hi, I am trying to print 5 unique random numbers 0 to 4. But each time I print, I get funny result. What is wrong with my program? Please see below. Rgds Khoon //Result X[0]= 0 X[1]= 3 X[2]= 4208527 X[... tskhoon(58)
fputs and fprintf1534 (2/28/2010 8:26:15 AM) comp.lang.c Hi, I don't know if the question is in newsgroup FAQ because I haven't found it yet and so I haven't read it yet. I would like to know what differences are between these two C functions: *fputs* and *fprintf*.... jussx0NOSPAM(4)
What happened to some regulars?826 (8/20/2011 1:31:21 PM) comp.lang.c Revisiting after quite a long while, I find both CBFalconer and Richard Heathfield conspicuous by their absence. Does anyone have any information on why they're no longer participating in this group? Does this... santosh.k83(3969)