Advertisement

1 - 10 of 142 containing alltags:("malloc") (0 seconds)
I want to store a variable number of pointers to structs. What is the best way of doing this? I thought of two ways of doing this but I'm not sure if they will work: 1.  I want something like...
Zones: CDate Answered: 05/14/2003 Grade: A Views: 0
sir ,    i m using tubo c in windows 98 platform .     check the program x.c                                        x.c          **************************       # include <stdio.h>        ch...
Zones: CDate Answered: 08/08/2003 Grade: A Views: 0
environment: msvc ++6 win xp 512 MB of ram i'm stress testing my debug build and let it continously malloc memory, however when it get to around >70MB, malloc start crashing in _heap_alloc_ba...
Zones: CDate Answered: 08/27/2003 Grade: A Views: 0
When i use Malloc function ,Compiler gives error
Zones: LanguagesDate Answered: 10/15/2003 Grade: B Views: 4
In dos programming,what is the upper limit of memory size can be allocated by "malloc"?,can we access all physical memory in Real Mode without XMS,EMS and others ?How?
Zones: C++Date Answered: 11/06/2003 Grade: B Views: 0
I've got a C++ 6.0 Statement... TOCRResults = (TOCRRESULTS *)malloc(ResultsInf); I'm needing to (A) figure out what in the world this is even doing ..I believe it is allocating the amount of by...
Zones: C#Date Answered: 11/18/2003 Grade: A Views: 71
Hi to All! I want to allocate memory in pure C code (no OOP) as maximum as possible i have 128MB ram in pc but i can only occupy 64k max, I am using Borland C v 3.1 Compiler under windows 98,...
Zones: CDate Answered: 11/26/2003 Grade: A Views: 0
Hi I have defined a struct in my program struct node {       int nodetype; /*1 = question, 2 = object*/         int nodenumber;       char object[25];       char question[25];       struct node *YES_ptr;       struc...
Zones: CDate Answered: 12/06/2003 Grade: A Views: 0
Hi Guys, I have the following problem. I need to know as to how to see that the size of a program that uses a lot of malloc's and free's does not exceed say  1 kb. I need a program for the above...
Zones: CDate Answered: 08/20/2004 Grade: A Views: 0
I have written a C program than iterates hundreds of thousands of times.  There might be several million calls to malloc(), realloc() and free() after so many iterations. There is no memory leak...
Zones: C, Microsoft Visual C++Date Answered: 11/11/2004 Grade: A Views: 14