Mail Archives: djgpp/2000/09/27/13:59:30
Gregory Harding wrote:
> I am experiencing the problem documented in the DJGPP FAQ under section 6.5
> (GCC - v2.95 - informs me that it is unable to locate "cc1plus.exe" or
> "cc1.exe" when attempting to compile C++ programs).
Which archives did you install? One of them should be gpp2952b.zip, which
contains the C++ compiler.
> Another question: I have noticed that programs using functions from the
> standard C libraries compile whether I put the appropriate include lines in
> or not. (eg. a program using random() works without #include <stdlib.h>).
> Why is this?
Header files like <stdlib.h> do not provide functions themselves; they
provide function prototypes instead. You should always include appropriate
header files when you use library functions, otherwise you'll get bugs.
Laurynas
- Raw text -