10:50 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Question about C++
On Wed, May 31, 2017 at 10:30 AM, Kirk Wolf <k...@dovetail.com> wrote:
... The people that I know that like C++ the most seem to appreciate its
endless
complexity. ...
I might be a tiny bit guilty. But for real w
On Wed, May 31, 2017 at 10:32 AM, Barkow, Eileen
wrote:
> It seems to me that java is becoming just as complex as C++, at least
> what you have to know of it to pass the certification exam.
> I have been studying some sample java certification exams and cannot
>
-$400 a pop to take, I
think that some of them are just a money grabbing stunt.
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of Steve Smith
Sent: Wednesday, May 31, 2017 10:50 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Question about C
On Wed, May 31, 2017 at 10:30 AM, Kirk Wolf wrote:
> ... The people that I know that like C++ the most seem to appreciate its
> endless
> complexity. ...
I might be a tiny bit guilty. But for real work, I think the real genius
is figuring out how to make a program as
I would agree with some of what you say Steve, but I've used C++ for over
25 years and I still don't like it much :-)
Other languages that I have used intensely like Smalltalk and Java
eventually fade into the background after you master them. The people
that I know that like C++ the most seem
On Wed, 31 May 2017 06:06:39 -0700, Charles Mills wrote:
>
>The point of the OO constructs is not that there is no other way to do things.
>Obviously, any object program that can be produced by a compiler could have
>been written in HLASM.
>
... but you may need to use the PUNCH statement. At
utine. You just delete the class and
if it has a destructor, it gets called. Voila!
Charles
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
On Behalf Of David Crayford
Sent: Tuesday, May 30, 2017 7:46 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject:
r to it? What are the
>> calling parameters? Or worse, I just realized I am going to need a cleanup
>> routine for this record. Now I have to go back and make sure that every
>> piece of code that uses it gets modified to call the cleanup routine. You
>> just delete the class and if
ehalf
Of David Crayford
Sent: Tuesday, May 30, 2017 7:46 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Question about C++
On 30/05/2017 9:52 PM, Charles Mills wrote:
You're trying to scare the poor man!
After I learned OO, I realized the problem in trying to communicate the
concepts.
- The e
Good spot!
class file {
typedef FILE *ptr;
ptr wrapped_file;
public:
file(std::string const , std::string const =
std::string("r")) :
wrapped_file(fopen(name.c_str(), mode.c_str()))
{ }
operator ptr() const { return wrapped_file; }
~file() { if
On Wed, May 31, 2017 at 8:26 AM, David Crayford wrote:
> I think I should have used the term object based for non-OO languages.
> Scope based finalization is a sweet spot of C++ with scoped based
> destructors. I'm coding a lot of Java at the moment and having to code
>
delete the class and if it has a destructor, it gets called.
Voila!
Charles
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of David Crayford
Sent: Tuesday, May 30, 2017 7:46 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Question ab
On 31/05/2017 8:13 AM, Steve Smith wrote:
Eventually, the big problem with OOP is designing an intelligent class
hierarchy to solve a particular problem. And that is where so many go
wrong. The real world of applications rarely comes up with something as
obvious as Thing:
ginal Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of David Crayford
Sent: Tuesday, May 30, 2017 7:46 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Question about C++
On 30/05/2017 9:52 PM, Charles Mills wrote:
> You're trying to scare the poor man!
>
@LISTSERV.UA.EDU
Subject: Re: Question about C++
Guys,
Where does this old Dino find readable examples in OO programming say in
c++? I am trying to learn it.
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email
gt; > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of scott Ford
> > Sent: Tuesday, May 30, 2017 7:58 PM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: Question about C++
> >
> > Guys,
> >
> > Where d
A.EDU
> Subject: Re: Question about C++
>
> Guys,
>
> Where does this old Dino find readable examples in OO programming say in
> c++? I am trying to learn it.
>
> Regards,
>
> Scott
> On Tue, May 30, 2017 at 10:46 PM David Crayford <dcrayf...@gmail.com> wr
littered throughout
> which call different functions depending on some type which would
> benefit from an OO design.
>
> > Charles
> >
> >
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On Be
depending on some type which would
benefit from an OO design.
Charles
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of David Crayford
Sent: Tuesday, May 30, 2017 5:23 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Question about C
C++ is my favorite language (I was historically a PL/I fan), but it's a
deep pool to get into. Decent object-oriented programming requires
learning a whole bunch of new ways to do things, and think about things.
There are many layers now of functionality, and there's no serious "Learn
C++ In
gt; -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Charles Mills
> Sent: Tuesday, May 30, 2017 8:53 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Question about C++
>
> You're trying to scare the poor man!
>
>
and Automation – umdoitmetr...@missouri.edu
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of Charles Mills
Sent: Tuesday, May 30, 2017 8:53 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Question about C++
You're trying to scare
Subject: Re: Question about C++
This might bewilder you some more ...
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
---
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of David Crayford
Sent: Tuesday, May 30, 2017 2:08 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Question about C++
On 30/05/2017 5:18 AM, Charles Mills wrote:
> Nearly any "Hello, world" program fro
This might bewilder you some more because C++ is a tricky language for a
beginner. It''s a simple thin wrapper class around C stdio that provides
RAII and some return value checks that throw exception when errors
occur. If you can work this out you're well on your way to being
competent. It's
DU] On Behalf
Of Steve Beaver
Sent: Monday, May 29, 2017 1:32 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Question about C++
Does anyone have a complete piece of C++ code that runs under MVS or Linux that
I can study? 99% of the stuff I write is HLASM and to a
http://www.99-bottles-of-beer.net/language-c++-109.html
On Mon, May 29, 2017 at 3:32 PM, Steve Beaver wrote:
> Does anyone have a complete piece of C++ code that runs under MVS or Linux
> that I can study? 99% of the stuff I write is HLASM and to a point I find
> C++
nted habits that way. Many people I fear claim they are writing C++
but in reality are writing what I call "C with // comments."
Charles
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of Steve Beaver
Sent: Monday, May 29,
Does anyone have a complete piece of C++ code that runs under MVS or Linux that
I can study? 99% of the stuff I write is HLASM and to a point I find C++
bewildering.
TIA
Steve
--
For IBM-MAIN subscribe / signoff / archive
29 matches
Mail list logo