[comp.lang.c++] Are there good C++ frontends to Microsoft C 5.1 compiler?

frank@altera.UUCP (Frank Heile) (05/10/89)

Sorry, I know next to nothing about C++, but here goes...

Does anyone have suggestions for a C++ frontend that emits C code
that Microsoft C 5.1 will be happy with (i.e. ANSI compatible
at warning level 3 for the Microsoft compiler)?

What computers/operating systems will the AT&T Version 2.0 C++ run on?

What book should an experienced C programmer read to learn C++?

michaelw@microsoft.UUCP (Michael Winser) (05/10/89)

In article <290@altera.UUCP> frank@altera.UUCP (Frank Heile) writes:
>Does anyone have suggestions for a C++ frontend that emits C code
>that Microsoft C 5.1 will be happy with (i.e. ANSI compatible
>at warning level 3 for the Microsoft compiler)?

Microsoft is currently recommending the Glockenspiel port of cfront.
I haven't used it much but others seem to think it's ok.

Michael

#include <std.disclaimer>
-- 
/\ no guts                                                       michael winser
\/ no glory             microsoft corp. (206) 882-8080, michaelw@microsoft.uucp

folta@tove.umd.edu (Wayne Folta) (05/11/89)

"
"What book should an experienced C programmer read to learn C++?
"

I just got this book, and I really like it:

   C++ for C Programmers
   by Ira Pohl
   The Benjamin/Cummings Publishing Co. (c) 1989
   ISBN 0-8053-0910-1
   Cost me: $27

I like its approach: it starts out with an overview of OOP, then basically
says: "You are an experienced C programmer, let's start out by pretending
that C++ is just a new C compiler, with some nifty improvements.  Then, we
will add features until we have covered everything."

A chapter listing:

   0. Intro
   1. An Overview of C++ and Object-Oriented Programming
   2. C++ as a Better C  [Stuff you could use w/o OOP]
   3. Classes
   4. Constructors and Destructors
   5. Operator Overloading and Conversions
   6. Inheritance
   7. Input/Output
   8. Advanced Features [Multiple Inheritance, etc.]

I had no OOP experience a week ago.  Then I got Smalltalk/V for my Mac
(Smalltalk--the original OOPL).  Yesterday, I got this book, and today
I put GNU's C++ (g++) on my Sun at work.  I am sold on C++ (though I will
use exclusively Smalltalk at home, where its interpreted nature is an
advantage).




Wayne Folta          (folta@tove.umd.edu  128.8.128.42)

hardin@hpindda.HP.COM (John Hardin) (05/13/89)

folta@tove.umd.edu (Wayne Folta) writes:

>I just got this book, and I really like it:
>
>   C++ for C Programmers
>   by Ira Pohl
>   The Benjamin/Cummings Publishing Co. (c) 1989
>   ISBN 0-8053-0910-1
>   Cost me: $27
----------

I agree completely.  This is an excellent book.

John Hardin   hardin%hpindgh@hplabs.hp.com