Mail Archives: djgpp/1998/02/08/11:45:28
Yeeming Jih wrote:
>
> DJGPP doesn't compile this code:
>
> --
> #include <iostream.h>
> #include <string.h>
you need to #include <string>.
D:\djgpp\C\TEST> gxx test.cc -o test.exe -Wall
D:\djgpp\C\TEST> test
Hello, World!
string.h is the ANSI C standard library header.
--
----------------------------------------------------------------------
A. Sinan Unur
Department of Policy Analysis and Management, College of Human Ecology,
Cornell University, Ithaca, NY 14853, USA
mailto:sinan DOT unur AT cornell DOT edu
http://www.people.cornell.edu/pages/asu1/
- Raw text -