Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site gumby.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!uwvax!gumby!g-frank
From: g-frank@gumby.UUCP
Newsgroups: net.lang.c
Subject: Re: String help!
Message-ID: <323@gumby.UUCP>
Date: Thu, 28-Feb-85 18:25:38 EST
Article-I.D.: gumby.323
Posted: Thu Feb 28 18:25:38 1985
Date-Received: Sat, 2-Mar-85 03:16:13 EST
References: <8257@watarts.UUCP> <929@ukma.UUCP> <437@ark.UUCP> <7014@watdaisy.UUCP>
Organization: U of Wisconsin CS Dept
Lines: 18

> (a confused hon-hacker writes...) Why would you want to keep a pointer to
> a constant string (or at least a constant length string)??
> -- 

Well, you might not keep a pointer to it, but since strings must be passed
to functions by passing their addresses, you don't have a lot of choice.
In fact, these kinds of limitations (implementing pass by reference with
explicit pointers) really tie the hands of compiler implementers, especially
on machines that don't look like VAXen or PDP-11's.


-- 
      Dan Frank

	  Q: What's the difference between an Apple MacIntosh
	     and an Etch-A-Sketch?

	  A: You don't have to shake the Mac to clear the screen.