Since 5/7/2012 3:54:11 PM, kvvaysage has written 6 articles and participated in 6 conversations. kvvaysage signature: kvvaysage
kvvaysage's articles:
Items(6) /1
How to Read this Declaration433 (9/11/2012 6:27:22 AM) comp.lang.c Hi,
I have seen a declaration like this in HTMLTidy source code
typedef void(TIDY_CALL *) TidyFree (void *buf)
Can I read it like TidyFree is a typedef to a function taking void
pointer and re... vaysagekv
Doubt on memmory deallocation550 (9/9/2012 2:01:18 PM) comp.lang.c Hi,
I am allocating some memory like below:
char* result= malloc(len);
then I assign another variable like below
char* temp = result+2;
If i deallocate temp
free... vaysagekv
Is it possible to take variable length input from User347 (9/9/2012 1:24:16 PM) comp.lang.c Hi,
I have written a program to add two big numbers.So i want to take
numbers as input from user.The number can be of any length (like 100
digit or 1000 digit).
What I am now doing is
char s... vaysagekv
Error When trying to free a pointer729 (9/9/2012 1:14:19 PM) comp.lang.c I have a function like below.The program has compiled without any errors
..But when I run it I am getting Error like this --->fibBigNumbers(1868)
malloc: *** error for object 0x100000ee2: pointer being free... vaysagekv
Scope of a variable declared in for loop7244 (2/23/2010 1:35:28 PM) comp.lang.c Hi, A)Is it possible to declare a variable inside for loop like for(int i=100;i>=0;i--); if yes what is the scope of that variable? B)if there is a for loop like below for(int i=0;int c = getchar();i++... vaysagekv
kvvaysage's replies:
Items(4) /1
More efficient strcmp2734 (3/13/2012 9:59:41 PM) comp.lang.c Dear friends I have created a more efficient strcmp function. However it only works on big endian architectures. I would like someone with same to run some timing tests to see how much is the speed up. Than... once1(21)
Error When trying to free a pointer729 (9/9/2012 1:14:19 PM) comp.lang.c I have a function like below.The program has compiled without any errors
..But when I run it I am getting Error like this --->fibBigNumbers(1868)
malloc: *** error for object 0x100000ee2: pointer being free... kvvaysage(12)
Doubt on memmory deallocation550 (9/9/2012 2:01:18 PM) comp.lang.c Hi,
I am allocating some memory like below:
char* result= malloc(len);
then I assign another variable like below
char* temp = result+2;
If i deallocate temp
free... kvvaysage(12)
How to Read this Declaration433 (9/11/2012 6:27:22 AM) comp.lang.c Hi,
I have seen a declaration like this in HTMLTidy source code
typedef void(TIDY_CALL *) TidyFree (void *buf)
Can I read it like TidyFree is a typedef to a function taking void
pointer and re... kvvaysage(12)