www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/08/21:30:32

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: string class doesn't compile
Date: Sun, 08 Feb 1998 20:45:55 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 18
Message-ID: <34DE5FD3.5522@cs.com>
References: <6bkcfo$l80$1 AT winter DOT news DOT erols DOT com>
NNTP-Posting-Host: ppp218.cs.com
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>

Try <_string.h> instead of <string.h>.  The latter is the ANSI C string
header, not the C++ header.

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "Always listen to experts.  They'll  |
|       aka Fighteer I       | tell you what can't be done, and why.|
|   mailto:fighteer AT cs DOT com   | Then do it."                         |
| http://www.cs.com/fighteer/|                - Lazarus Long        |
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019