I am trying build my project, and I am getting linking errors. The problem is with my compiler directives and include files. Here are the headers for my project.<br><br>// assign10.cpp<br>#include <fstream><br>#include <iostream><br>#include <string><br>#include "classdef.cpp"<br>using namespace std;<br><br>//classdef.h<br>#pragma once<br>#include <fstream><br>#include <iostream><br>#include <string><br>using namespace std;<br>//CODE FOR CLASS DEFINITIONS<br>#include "classdef.cpp"<br><br>//classdef.cpp<br>#ifndef _CLASSDEF_<br>#define _CLASSDEF_<br>//CODE FOR CLASS IMPLMENTATION<br>#endif<br><br>I have tried numerous of other combinations and nothing seems to work. Every time the things in the classdef.cpp get redefined. If any could help let please let me know.<br>