Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!dkuug!freja.diku.dk!skinfaxe.diku.dk!jensting From: jensting@skinfaxe.diku.dk (Jens Tingleff) Newsgroups: comp.lang.c Subject: Re: structure assignment, why you would want to do it Message-ID: <1990Aug26.185447.11865@diku.dk> Date: 26 Aug 90 18:54:47 GMT References: <1081.26d26274@desire.wright.edu> <352@saxony.pa.reuter.COM> <3615@goanna.cs.rmit.oz.au> <1096.26d52ea3@desire.wright.edu> Sender: news@diku.dk (The Netnews System) Organization: Department Of Computer Science, University Of Copenhagen Lines: 27 demon@desire.wright.edu writes: >In article <3615@goanna.cs.rmit.oz.au>, ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) writes: >> In article <352@saxony.pa.reuter.COM>, dgil@pa.reuter.COM (Dave Gillett) writes: >> : In <1081.26d26274@desire.wright.edu> demon@desire.wright.edu writes: [...] >> > Thanx! Everyone wondered why I asked it. If you are doing >transformations/similar math stuff or (like I'm doing) vehicle position updates >for a military simulation, you'd like to be able to say >pres_location += current_move; Yes, certainly, what next ? multiplication ? (I hear that FORTRAN {8|9}x got this one "wrong", i.e. a matrix multiplication is an element by element multiplication, not the 'lin. algebra' multiplication). The point is that the semantics become non intuitive after a while. Anyway, what's wrong with C++ ? Jens Jens Tingleff MSc EE, Institute of Computer Science, Copenhagen University Snail mail: DIKU Universitetsparken 1 DK2100 KBH O "It never runs around here; it just comes crashing down" apologies to Dire Straits