Deleting intermediate files and output files for project 'cs131assign3 - Win32 Debug'.
--------------------Configuration: cs131assign3 - Win32 Debug--------------------
Compiling...
driver program.cpp
c:\program files\microsoft visual studio\myprojects\cs131assign3\sortedtype.h(3) : warning C4182: #include nesting level is 362 deep; possible infinite recursion
c:\program files\microsoft visual studio\myprojects\cs131assign3\sortedtype.h(3) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
itemtype.cpp
c:\program files\microsoft visual studio\myprojects\cs131assign3\sortedtype.h(3) : warning C4182: #include nesting level is 362 deep; possible infinite recursion
c:\program files\microsoft visual studio\myprojects\cs131assign3\sortedtype.h(3) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
sortedtype.cpp
c:\program files\microsoft visual studio\myprojects\cs131assign3\sortedtype.h(3) : warning C4182: #include nesting level is 363 deep; possible infinite recursion
c:\program files\microsoft visual studio\myprojects\cs131assign3\sortedtype.h(3) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
Error executing cl.exe.
cs131assign3.exe - 3 error(s), 3 warning(s)
My include statements are as follows:
sortedtype.h ------- #include "itemtype.h"
sortedtype.cpp-------#include "sortedtype.h"
itemtype.h -----------#include "sortedtype.h"
itemtype.cpp ---------#include "itemtype.h"
driver program.cpp ----#include "sortedtype.h"
#include <iostream>
#include <fstream>