Originally Posted by
maxcy
First problem: the boolean false variable was used by including stdbool in C. But I think that true and false are both part of the std library in modern C++ compilers. If that is true then the cons int for true and false in this project in misc.h is a problem and is why the compiler complains about this line of code. So just get rid of misc.h?
Second problem: buffer.cpp contains "#include <iostream.h>". Compiler says no such file or directory! Are these .h include files just meant for c programs? And the same version without the .h the C++ version? I thought the .h versions were meant to be used in C++ programs as some sort of compatibility to c code.
See attached code.
Some of my projects contain about 25 .cpp & .h files. Do you really think attaching such a large project is a good idea?
maxcy / wt1v