🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #708

Re: help!

#708
From: Klamer Schutte
Date: Wed, 27 Jan 1993 13:30
18 lines
1231 bytes
In <7684@sersun1.essex.ac.uk> palmm@csc2.essex.ac.uk (Palmer M J) writes:

	>> dicussion about linked list implementation deleted <<

The problem you have is in the concept string. You expect the behaviour
of a decent string, and you use char *.

You get the expected behaviour by using the String type defined by
#include <String.h>. Just change your typedef line to:
   typedef String Type;
instead of
   typedef char * Type;

Klamer
--
Klamer Schutte			Tel: +31-53-892778	Fax: +31-53-340045
Faculty of electrical engineering -- University of Twente, The Netherlands
preferred: klamer@mi.el.utwente.nl     SMTP: klamer@utelmi01.el.utwente.nl
Technical Details
Message-ID: <klamer.728141403@mi.el.utwente.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!canrem!telly!utzoo!torn!cs.utexas.edu!sdd.hp.com!nigel.msen.com!emory!gatech!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sun4nl!utrcu1!klamer
References: <1993Jan21.004406.6508@informix.com> <7684@sersun1.essex.ac.uk>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!canrem!telly!utzoo!torn!cs.utexas.edu!sdd.hp.com!nigel.msen.com!emory!gatech!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sun4nl!utrcu1!klamer
From: klamer@mi.el.utwente.nl (Klamer Schutte)
Subject: Re: help!
Message-ID: <klamer.728141403@mi.el.utwente.nl>
Keywords: Linker, ld, collect
Sender: news@utwente.nl (USENET News System)
Organization: University of Twente, BSC-El
References: <1993Jan21.004406.6508@informix.com> <7684@sersun1.essex.ac.uk>
Date: Wed, 27 Jan 1993 13:30:03 GMT
Lines: 18