Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!decwrl!turtleva!ken From: ken@turtleva.UUCP (Ken Turkowski) Newsgroups: net.lang.c Subject: Re: mixing pointers and arrays Message-ID: <218@turtleva.UUCP> Date: Tue, 16-Aug-83 21:32:00 EDT Article-I.D.: turtleva.218 Posted: Tue Aug 16 21:32:00 1983 Date-Received: Wed, 17-Aug-83 07:33:30 EDT References: orca.70 Lines: 10 Now, wait a minute, Andrew Klossner, there are some reasons for passing structures, and they are very natural. Suppose your numbers were rational numbers, that is, each number is composed of a numerator and denominator. Then it makes sense to pass the structure { int num, den; } to processing routines. Similarly with complex numbers { double re, im; }, two dimensional coordinates { int x, y; }, polar coordinates { double r, theta}. Ken Turkowski CADLINC, Palo Alto {decwrl,amd70}!turtlevax!ken