help!!

This topic is 5080 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

c:\program files\microsoft visual studio\vc98\include\istream(508) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit ^ That showed up....so can you help me?

Share on other sites
First, look up the error message on MSDN: C1076. Next, follow the directions specified in the "possible solutions" section.

Share on other sites
I would imagine you are recursivly including two header file from each other, ie:

//filea.h#include <iostream>#include "fileb.h"//fileb.h#include "filea.h"

You can solve this by using include guards so each file can only get included once per source file, like this:
//filea.h#ifndef _FILEA_H_#define _FILEA_H_#include <iostream>#include "fileb.h"#endif//fileb.h#ifndef _FILEB_H_#define _FILEB_H_#include "filea.h"#endif

Alan

Share on other sites
Out of the solutions on one i am going to try, and that is /zm but i don't know how to get to the property page, and the microsoft thing doesn't exactly help.

Share on other sites
Quote:
 Original post by anorennOut of the solutions on one i am going to try, and that is /zm but i don't know how to get to the property page, and the microsoft thing doesn't exactly help.

Goto project->settings and you should find it there. Though usually in my experience it's a problem much like Alan Kemp described.

~Wave

Share on other sites
yea..i tried the, define and endif stuff...didn't work
I used the includes because of this problem...it happened before without any includes except time.h and iostream. I think it's my computer...my computer really sucks.

1. 1
2. 2
Rutin
25
3. 3
4. 4
JoeJ
18
5. 5
gaxio
11

• 14
• 22
• 11
• 11
• 9
• Forum Statistics

• Total Topics
631765
• Total Posts
3002213
×