I have an very small system with only 16kb of heap, no mmap, no swap. I\'m using the latest version 2.8.5 of Doug Lea allocator ftp://g.oswego.edu/pub/misc/malloc-2.8.5.c
I\'m working on a homework assignment for CS1, it\'s supposed to bring us back up to speed if we had forgotten some of our C (it\'s mostly about pointers and memory allocation). I\'ve been working on
I\'m writing a server-client application in C sharing some informations. Server works in a two-thread mode - with main thread waiting for input and side thread responding to clients\' requests. Client
Here is my code: int main(void) { int i; Coords** latLng; Quadrado* q1; latLng[0] = AdicionaValores(latLng[0],-23.000490,-43.346687);
I\'m trying to map a doubly linked list to a GUI. I basically create a button structure for every node in the list, map the nodes parameters to the buttons parameters, and then display them on the scr
I\'m trying to write a simple shared library that would log malloc calls to stderr (a sort of \'mtrace\' if you will).
I\'m trying to create a multidimentional int array with the following function code: int ** createI开发者_如何学JAVAntMatrix(unsigned int rows, unsigned int cols)
I\'m having a problem with free() on a struct in my C program. When I look at /proc//statm before and after the free it doesn\'t seem to reduce. Am I using free() wrong in this case, or am I reading /
Please help :) OS : Linux Where in \" sleep(1000);\", at this time \"top (display Linux tasks)\" wrote me 7.7 %MEM use.
Makes a while since I\'ve done some C and I have to refresh my understanding of pointers. Here is a function that modifies the content of a pointer. The question is if this code is correct. Is it enou