home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!gumby!destroyer!gatech!hubcap!mjs
- From: mjs@hubcap.clemson.edu (M. J. Saltzman)
- Subject: Re: Small Language Wanted
- Message-ID: <1992Aug27.151505.19860@hubcap.clemson.edu>
- Organization: Clemson University, Clemson SC
- References: <H.3lvmyc56w&A@lionbbs.bs.open.de> <17gsgnINN903@network.ucsd.edu> <9224014.17999@mulga.cs.mu.OZ.AU>
- Date: Thu, 27 Aug 1992 15:15:05 GMT
- Lines: 32
-
- In article <9224014.17999@mulga.cs.mu.OZ.AU> fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON) writes:
- >mbk@lyapunov.ucsd.edu (Matt Kennel) writes:
- >
- >>UweKloss@lionbbs.bs.open.de ( Uwe Kloss) writes:
- >>: > In addition, C has nothing equivalent to Fortrans **
- >>: > operator nor does it have complex types.
- >
- >Note however that C++ does have complex types.
- ^^^^
- Complex types can be implemented as a class...
-
- >[...]
- >>: > And arrays, C has no true array type
- >>: > like Fortran does (One must use pointers to pointers ... to pointers).
- >>: Did you ever try: int a[12][34];
- >>: And : a[x][y] = somewhat;
- >>
- >>Yes, but try to use "a" in a subroutine.
- >
- >void subroutine(int a[12][34]) {...}
- >
- >If there are problems, could you please explain them better?
-
- No need to be so contrary. He's talking about writing subroutine() to
- manipulate a generic multidimensional array with size not specified
- until runtime.
-
-
- --
- Matthew Saltzman
- Clemson University Math Sciences
- mjs@clemson.edu
-