delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/24/23:00:36

From: "Geoffrey Woo" <spacecraft AT sprint DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: can't get STRING to work.
Lines: 12
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <Kp8j4.10661$MI4.113671@newscontent-01.sprint.ca>
Date: Mon, 24 Jan 2000 19:16:37 -0800
NNTP-Posting-Host: 209.148.182.57
X-Complaints-To: abuse AT sprint DOT ca
X-Trace: newscontent-01.sprint.ca 948769514 209.148.182.57 (Mon, 24 Jan 2000 22:05:14 EST)
NNTP-Posting-Date: Mon, 24 Jan 2000 22:05:14 EST
Organization: Sprint Canada Inc.
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I am new to djgpp, when i tried to use the function string,(typed
#include<string.h> at the beginning and then in the main function String
Name; ) it says the line " String Name; " ----]

Error: 'String' undeclared (first use this function)
Error: (Each undeclared identifier is reported only once
Error : for each function it appears in.)
Error: parse error before';'

please help me to get this to work. Thank you very much.


- Raw text -


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