well. my array context is as follows.
struct authors
{
char name[50];
int uniq_id;
}node[10000];
i am getting an array out of size error.
I tried using the huge decleration as follows.
struct authors
{
char name[50];
int uniq_id;
};
struct authors huge node[10000];
But then i a m having problems in accesing the structure elements.
Ex: printf("%s",node[0].name)
prints: ( null )
So am still stuck with the size limitation.
Is my way of accessing the individual structure elements correct??
Ian said:
shreesh said:
I want to use an array of size greater than ARRAY[256][256] but am
getting an array size too large error.
I am using a BC 3.1 on msdos ver 5.1.2600 on XP.
How can i get around this simple but irritating problem.
Please don't shout.
Array of what and in what context? If you hit an implementation limit
for automatic variables, try dynamic allocation.