Pelles C forum
C language => Beginner questions => Topic started by: Marten on December 11, 2006, 09:59:19 PM
-
Hi again !
why cant i declare a field of structres : struct squares{
int begin;
int end;
int x;
};
struct sqaures hello[100000];
it works with 10000 but 100000 seems to big! ? WHY ??? :?
-
Probably you're overflowing the stack limits. You can either increase the stack size (linker's /STACK option) or use heap allocation through malloc().