This should be a very basic question, I have my class defination and implementation in two different files, and in my third file I have my main() and I try to make an object of the class. I'm not sure how to link them together. Text book doesn't really show how.
Thanks.
======================================================================
here is my def file - classDef.h
#include<iostream>
#include<string>
using namespace std;
Don't use Dev-C++, its old, outdated and no longer updated. Try using Code::Blocks, or at the very least wxDev-C++ which is updated. How you link files depends on what compiler your using, but generally your IDE will automatically link all source files in a project. Just create a new project, add your files and compile it. The IDE should pass the source files to be compiled/linked.