Dev C++ Cout Does Not Name A Type

Downloadable

C++ class does not name a type
P: 3
Hey, all passby c++ programmer, I met a problem which has baffled me for a while:
It is my first time to use Kdevelop and I am also not very conversant with C++. I created two classes: Dead and Born.
They are declared in 'dead.h' and 'born.h' respectively.
The content of born.h is like the following:
  1. ////////////////////////////////////////////////////
  2. #ifndef BORN_H
  3. #define BORN_H
  4. #include 'dead.h'
  5. using namespace std;
  6. /**
  7. @author shark, <shark@KOF>
  8. */
  9. class born
  10. {
  11. public:
  12. born();
  13. ~born();
  14. public:
  15. dead test1;
  16. };
  17. #endif
  18. ////////////////////////////////////////////
OK, then comes the content of 'dead.h'
  1. ///////////////////////////////////////////
  2. #ifndef DEAD_H
  3. #define DEAD_H
  4. #include 'born.h'
  5. using namespace std;
  6. /**
  7. @author shark, <shark@KOF>
  8. */
  9. class dead
  10. {
  11. public:
  12. dead_ele();
  13. ~dead_ele();
  14. public:
  15. born test2;
  16. };
  17. #endif
  18. ////////////////////////////////////////////
These two classes were added by Kdevelop 'New Class' item,
When I compiled the code, g++ complained:
/home/shark/TCL_project/peptide_world/src/born.h:44: error: 'dead' does not name a type
/home/shark/TCL_project/peptide_world/src/dead.h:42: error: 'born' does not name a type
But I indeed include all the necessary head file. How could that be? I tried to add the prefix of namespace reference, but it still complains..
Any ideas?

Dev C Cout Does Not Name A Type B

Cout' Does Not Name A Type

Antares autotune 4 free download. Mar 08, 2012  'string' does not name a type please excuse the LIST of includes. My prof told me that if you don't use it the compiler ignores it so it's not a bad idea to just make a master list, so you don't have to keep remembering to type in the ones you need. Sorting a Vector in C in Ascending order. A vector in C can be easily sorted in ascending order using the sort function defined in the algorithm header file. The sort function sorts a given data structure and does not return anything. The sorting takes place between the two passed iterators or positions.