Hello list:

I am having Stack Overflow problems with this simple code under FreeDOS and

#include <stdio.h>

char a[8192];

int main()
    int i;
    char b[8192];
    for(i=0; i<8192; i++) a[i]=b[i]=0;
    return 0;

I keep getting stack overflow problems.

I know this code is very simple and meaningless, but it's an example of how
I am having stack overflow problems with static arrays of size 8192.

Excuse me if the mail is too off-topic, but I think the problem is
something to do with memory.


LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
Freedos-user mailing list

Reply via email to