comp.lang.ada
 help / color / mirror / Atom feed
From: rhawkins@iastate.edu (Rick Hawkins)
Subject: Re: Fortran vs C++ vs. etc (has little to do with realtime anymore)
Date: 1997/09/19
Date: 1997-09-19T00:00:00+00:00	[thread overview]
Message-ID: <5vu47d$ea8$1@news.iastate.edu> (raw)
In-Reply-To: vi8k9ge42bw.fsf@drabble.fnal.gov



In article <vi8k9ge42bw.fsf@drabble.fnal.gov>,
Oleg Krivosheev  <kriol@fnal.gov> wrote:

>rhawkins@iastate.edu (Rick Hawkins) writes:

>> yes!!!  learning c++ after not using c for ten years took some work.
>> Fortran after 12 years didn't; I could sit back donw and code.

>well, if you're talking about F77, yes. FYI, there are already
>F90 and F95 here. I doubt you can program in F95 without
>learning - just as you did with C++.

I'm using F90; It was Fortran IV on a pr1me and almost-f77 on tops 20
back then.

>> I'm not going to knock c++; it's wonderful for where it belongs.  But
>> for my fairly simple models that just need numbers pounded into
>> submission, and which won't be reused, Fortran is *much* easier, if for
>> no other reason than high-level I/O.  I was spending 2/3 of my time in
>> c++ either writing pieces builit into fortran, or looking for libraries
>> with the pieces.  I think I switched when i couldn't find a max(), and
>> couldn't figure out the single example of writing a function with
>> variable number of arguments (actually, i used smalltalk for a while in
>> between, but that's another story).

>cannot find max() in c++?

I tried.  I looked.  I'm convinced it must be there, but . . .

>couldn't figure how to write function with variable numbers
>of arguments?

In the two books that I had, there was a single example, whihc managed
not to explain. I  wasn't just the issue of variable number of
arguments, but of arbitrarily large variable numbers 
(i wanted my max()!  :)


>there is something wrong with your C++ installation
>or with your C/C++ book.

I assume it's the books; the compiler was either DEC cc or gcc; i forget
now.

rick


-- 
R E HAWKINS
rhawkins@iastate.edu

These opinions will not be those of ISU until they pay my retainer.




  reply	other threads:[~1997-09-19  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-13  0:00 Fortran vs C++ vs. etc (has little to do with realtime anymore) Dr. Krishnan Chittur
1997-09-15  0:00 ` Area Industrial y Electromec�nica
1997-09-16  0:00 ` Vanesch P.
1997-09-16  0:00   ` Jeffrey Templon
1997-09-16  0:00     ` Gary L. Scott
1997-09-17  0:00       ` Jenn-Ching Luo
1997-09-17  0:00         ` Gary L. Scott
1997-09-16  0:00 ` Rick Hawkins
1997-09-18  0:00   ` Oleg Krivosheev
1997-09-19  0:00     ` Rick Hawkins [this message]
1997-09-23  0:00       ` Oleg Krivosheev
1997-09-23  0:00         ` Gary L. Scott
1997-09-24  0:00         ` Rick Hawkins
1997-09-24  0:00           ` Xingzeng Liu
1997-09-25  0:00         ` const
1997-09-25  0:00           ` Oleg Krivosheev
     [not found] <199709070005.TAA23336@manifold.algebra.com>
     [not found] ` <5utbth$rdi@snews2.zippo.com>
     [not found]   ` <34131554.73F2310E@roda.roc.servtech.com>
     [not found]     ` <34157696.16620299@nntp.interaccess.com>
     [not found]       ` <JTV2J.97Sep9170655@cobra.cs.virginia.edu>
     [not found]         ` <3415CE44.3BD531@calfp.co.uk>
     [not found]           ` <341644F2.763D@BZZvnet.ibm.com>
1997-09-12  0:00             ` Jeffrey Templon
1997-09-13  0:00               ` Joseph M. O'Leary
1997-09-16  0:00                 ` James F Cornwall
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox