Hi, everyone!!I have some problem about how to evaluate the gamma inverse cdf in Cprogram.Please help me~~...
...
HiJust learning c and wonder if anyone can answer a question. I amwriting a program that uses threads. These threads will call aspecific function simultaneously. This specific function uses a globalpointer to run through a linked list of structures.Thread1 enters the function and resets a global...
PRBLEM STATEMENT:I want to calculate the byte offset of a field with a struct atcompile time without instantiating an instance of the struct atruntime AND I want to do this in an ANSI standard compliantfashion.DISCUSSIN:Below is a sample program that demonstrates my solution. My questionsare:(1)...
Hello all, I'm completely new in theory of C compiler and it's supportfor multi-core hardware. Does anybody know whether compiler formulti-core and SMP/AMP/BMP does need some special internal features?I'm not talking right know about libs, just translation of the C codeinto the in...
HelloCan someone explain what the following code is doing?void *get_gp_value(){void **function_pointer = (void **)get_gp_value;return function_pointer[1];}Thanks...
IT tests. C, C++, C#, VB.NET, ASP.NET, SQL, HTML, XML...
Anyone know how to see the source code from the .exe file?...
I use this function that I wrote for inputting strings. It's meant toreturn a pointer to mallocated memory holding one input string, or 0 onerror. (Personally, I prefer to use 0 to NULL when returning nullpointers.) It looks pretty watertight to me, but my version of lintcomplains about use...
Hi,I'm trying to read the belgium eid card which gives out utf8, i canconvert it to ansi but now i have the problem of converting the specialchart to oem.utf8 to ansifor(x=0;x<lengte;x++){if((SubPart[x]&0x80)==0) printf("%c",SubPart[x]);else{unsigned char y;y=((SubPart[x]&0x1F)<<6)...
Can I use printf inside a variadic function that I am writing?Like:void print(const char * format,){va_list va;va_start(va, format);char buffer[64*1024]; // yeah, I knowvsprintf(buffer, format, va);va_end(va);printf(" %s ", buffer);}I know the example is degenerate, but is it allowed, that is, d...
Hi ,i don't know why the below mentioned program is giving wrong o/p.#include <stdio.h>#include <stdlib.h>#include <string.h>ARRAY_SIZE 10int func(void *x){int (*y)[ARRAY_SIZE];y=x;printf("%d, %d",y[0],y[1]);return 0;}int main (void){int arr[ARRAY_SIZE]={1,2};int (*p)[ARRA...

