Re: Can't compile this code *****SOLVED****

From: Gary Labowitz (glabowitz_at_comcast.net)
Date: 11/25/04

  • Next message: Richard Seguin: "Re: Atoi keeps on failing."
    Date: Thu, 25 Nov 2004 09:15:27 -0500
    
    

    "Morten Gulbrandsen" <Morten.Gulbrandsen@rwth-aachen.de> wrote in message
    news:30m27kF31l4arU1@uni-berlin.de...
    > Thank you for the help,
    >
    > I also use Bruce Eckel, // Much stuff
    >
    > Deitel and Deitel, // Very good, but I have some problems here too
    >
    > Josuttis, // requires a new compiler and lots of patience
    >
    > I program in C since 1996
    >
    > C++ is new to me.
    >
    >
    > Could you please comment on this
    >
    > http://www.libertyassociates.com/pages/Books.htm
    >
    >
    > C++ Programming
    >
    > Teach Yourself C++ in 21 days (4th Edition)
    > by Jesse Liberty
    > SAMS 2001. ISBN: 0672322072
    >
    > International best seller, translated into Chinese,
    > French, Finnish, Greek, Russian, Slavic, Swedish & Dutch
    > An in-depth tutorial on the complete language.
    > Assumes you have no prior programming experience.
    > Quiz, Q&A and exercises for each chapter.
    >
    > Over 250,000 copies sold. Recommended by Amazon.
    >
    >
    >
    > Could you please comment on the quality of the code
    >
    > http://www.libertyassociates.com/pages/files/TYCPP4eSource.zip
    >
    >
    > My ANSI-C favourite is this one
    >
    >
    > http://www.cse.ucsc.edu/~pohl/abc4.html
    >
    >
    > A Book on C, Edition 4
    >
    > by Al Kelley and Ira Pohl
    >
    > Addison-Wesley ISBN 0-201-18399-4
    >
    >
    > ===
    >
    >
    > // 4eList1905.cpp
    > #include <iostream>
    >
    > using namespace std;
    >
    > class Cat
    > {
    > private:
    > int weight;
    > int age;
    >
    > void DoMeow()
    > {
    > cout << "Meow\n";
    > }
    >
    > public:
    > Cat::Cat(int theWeight, int theAge)
    > {
    > weight = weight;

    Analyze what this statement does. Is it completely solved?

    -- 
    Gary
    

  • Next message: Richard Seguin: "Re: Atoi keeps on failing."

    Relevant Pages