www.delorie.com/archives/browse.cgi | search |
From: | "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: string class doesn't compile |
Date: | Sun, 08 Feb 1998 11:19:48 -0500 |
Organization: | Cornell University (http://www.cornell.edu/) |
Lines: | 24 |
Sender: | asu1 AT cornell DOT edu (Verified) |
Message-ID: | <34DDDB24.C057DBE7@cornell.edu> |
References: | <6bkcfo$l80$1 AT winter DOT news DOT erols DOT com> |
NNTP-Posting-Host: | cu-dialup-2121.cit.cornell.edu |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |