| www.delorie.com/archives/browse.cgi | search |
| From: | pneyz <pneyz AT bethany DOT edu> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: <string.h> |
| Date: | Wed, 11 Feb 1998 10:52:39 -0800 |
| Organization: | Smoof Team |
| Lines: | 23 |
| Message-ID: | <34E1F377.F2F52288@bethany.edu> |
| References: | <3 DOT 0 DOT 5 DOT 32 DOT 19980211115618 DOT 007ecc60 AT mail DOT kudos DOT net> |
| NNTP-Posting-Host: | scz-ca5-10.ix.netcom.com |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
> #include <string.h>
>
> int main(void)
> {
> String aString;
> return 0;
> }
>
> i get a parse error on the first line where i try to instantiate a string
> object.
> What am i doing wrong (probably something very silly :-)?
Just change the first line to:
#include <_string.h>
and it should work. Cheers.
--
/*
pneyz / Smoof Team pneyz AT bethany DOT edu
"Fine Malt Coding" http://ns.bethany.edu/pneyz/
*/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |