Re: C Programming



On Sun, 30 Jul 2006, Juan Carlos wrote:

Dear Kaushal:

I used "C from A to Z", by Brian Costales (Prentice-Hall). It
is an old book, but very good. For C++ I used "Developing C++ Software"
by Russel Winder.

There is an old flame war. Some say that C and only C must be
used. Other say that only C++ has objects, encapsulation, etc. and it is
the greatest thing in the programming world. I see that the Linux kernel
has been written in C and I guess it is good: some C++ programs are
unreadable.

Another issue with C++ is that it is not very portable. If you stick with gcc, you don't have as many problems, but if you try to use C++ compilers from other vendors, you start getting into serious weird problems. Trying to find what vendors support what features is the big problem here. Because C++ has been a moving target over the last n+1 years, some things were supported and some were not, depending on who's compiler you used.

Not to mention the reputation that C++ has for generating binaries that are 33% (or more) larger than C.

Both have their uses.

As for books on learning C and/or C++... I use "C a Reference Manual" by Harrison and Steele" for C. (As well as Steven's books on Unix programming.)

As for C++, I use "The C++ programming language" by Stroustrup.

--
Does Bjarne Stroustrup think of women as objects?

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Rephrase - Could you sod off Spinoza
    ... Here p is the assertion that "C is a programming language" and q is ... recompiled using new compilers, and the old compilers are retained to ... best-selling and highly useful books of one Herbert Schildt... ... Evidence has been pointed at you that Herbert Schildt write inaccurate ...
    (comp.programming)
  • Re: drop-in replacements for chs.7-12 of Knuth
    ... > I'm working my way through my copy of Knuth's Art of Computer Programming ... I suspect there are no books on chapter 9, ... As for chapters 11 and 12, language theory and compilers, these ... "Programming Language Pragmatics" by Scott. ...
    (comp.programming)
  • C++ Cookbook - OReillys Latest Release
    ... difficult languages to learn. ... accomplish common programming tasks in an effective and proven manner. ... 'reference' books. ... XML, using the standard containers, and so on. ...
    (comp.unix.sco.announce)
  • Re: What books do you read / recommend
    ... category is the C++ books, not because it's the best, or because ... well-explored that lots of uniquely good design books are also good C++ ... The C++ Programming Language 3rd Edition by Bjarne Stroustrup ... Design Patterns: elements of reusable object-oriented software by Gamma, ...
    (comp.object)
  • Giant C++ resources list, 2nd edition
    ... -Separate section about the Thinking in C++ books now. ... -C++ Programming in Easy Steps was removed from the beginners' list. ... -Herb Sutter's website added. ... Large Scale C++ Software Design ...
    (comp.lang.cpp)