[Dev-C++] SOLVED-Newbie problem including files correctly
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Dane E. <DE...@pa...> - 2004-05-25 13:17:04
|
Hi Everyone, =20 THANK YOU very much for your help solving my include problems. After straightening out the correct way to include .h and .cpp files I kept getting errors about use a string type before defining it. M. Ozor helped me solve this new problem by using this order of includes: =20 Employee.h - class declaration no includes =20 Employee.cpp - class implementation #include <string> #include <iostream> #include <stdlib.h> using namespace std; =20 main.cpp #include <string> #include <iostream> #include <stdlib.h> using namespace std; =20 |