Since 4/25/2012 7:18:39 PM, rgamble99 has written 1 articles and participated in 793 conversations. rgamble99 signature: rgamble99
rgamble99's articles:
Items(1) /1
Floating Point and Wide Registers3931 (8/21/2006 8:19:44 PM) comp.lang.c 9899:1999 5.1.2.3 Example 4 reads: "EXAMPLE 4 Implementations employing wide registers have to take care to honor appropriate semantics. Values are independent of whether they are represented in a register or i... Robert
Jump to address syntax749 (7/16/2008 10:44:38 AM) comp.lang.c Hello all, I have an example of working code under my eyes that goes as follow: unsigned long address=0x400000; (void (*)(void)address)(); It's supposed to jump start a kernel loaded at that address from a sm... use_the_form_on_my_contact_page(82)
How to pass varargs arguments to 2nd function?689 (7/27/2008 8:58:00 PM) comp.lang.c Hello, I have a function that has a variable # of arguments of varying types. int foo(short a, ...) { va_list argp va_start(argp, a); ... va_end(argp); } I want to be able to call another function,... antianti(4)
percentage824 (7/29/2008 10:44:48 PM) comp.lang.c I need help on this utillity it is supposed to take as its first argument a number and its second argument a subtraction of that number say for example 20 and 2. The program should calculate the perce... nospam268(588)
sh?tpile of errors9228 (8/2/2008 5:45:26 PM) comp.lang.c Would anyone be interested in giving this a quick look. The compiler gave me so many errors I don't know where to start. This is my first use of isalpha. #include #include #define ex exit(EXIT_FAILURE)... nospam268(588)
_TIME_865 (8/6/2008 10:49:24 PM) comp.lang.c Hi, Could you please let me know how to use _TIME_ macro with a sample code? Regards ... ramu.ask(96)
testing fclose...really necessary1628 (8/8/2008 8:58:15 PM) comp.lang.c Is it really necessary to check the return type (int) or fclose ? fopen I can understand but what about using fflsuh(fp); /* fopen's pointer */ fclose(fp); Would that take care of any unforseen truncatio... nospam268(588)
Typedef Bug/Error1351 (9/1/2008 5:43:54 PM) comp.lang.c #include int main() { typedef int R1; typedef int R2; typedef long int R3; unsigned R1 n1; long R2 n2; R3 n3; n1=123456789; n2=123456789; n3=123456789; printf("%u..%d\n",n1,sizeof(n1)); printf("%ld..%d\n",n2,... pranav026(86)
Question about void pointers15330 (9/16/2008 3:15:34 PM) comp.lang.c Is this valid? int a[20]; void *b; b = (void *)a; // b points to a[0] b += 5*sizeof(*a); // b points to a[5] a[5] = 100; printf( "%d\n" , *((int *)b) ); // prints 100 If so, if a had been a struct, would... raphfrk(53)
Comment Style4728 (9/24/2008 3:06:57 PM) comp.lang.c Afternoon all. I was just wondering about this point - I have (generally) used // for commenting a single line in C, but from looking at code other people have written it seems many use /* */ (which I only us... nick496(47)
missing braces around initializer531 (5/13/2009 3:26:21 PM) comp.lang.c Hello, One of the examples in the C89 draft is float y[4][3] = { { 1, 3, 5 }, { 2, 4, 6 }, { 3, 5, 7 }, }; is a definition with a ... Boon