delorie.com/archives/browse.cgi | search |
From: | "Robinson S." <roby AT lords DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Catenation (spelled right?) of strings |
Date: | Thu, 12 Aug 1999 20:55:41 -0400 |
Organization: | ICAN.Net Customer |
Lines: | 14 |
Message-ID: | <37B36D0D.7F00@lords.com> |
NNTP-Posting-Host: | dialin1944.toronto.globalserve.net |
Mime-Version: | 1.0 |
X-Mailer: | Mozilla 3.04 (Win95; U) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Is it possible to group a bunch of strings into an array of char: I tried this: char THE_STRING [255]; THE_STRING = "GOATS " + "MAKE " + "GOOD " + "PETS!"; My compiler (DGJPP gccw32.exe) says: "invalid operands to binary +" How do I join those strings? -- Robinson S., mailto:roby AT lords DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |