KotiRyhmätKeskusteluLisääAjan henki
Etsi sivustolta
Tämä sivusto käyttää evästeitä palvelujen toimittamiseen, toiminnan parantamiseen, analytiikkaan ja (jos et ole kirjautunut sisään) mainostamiseen. Käyttämällä LibraryThingiä ilmaiset, että olet lukenut ja ymmärtänyt käyttöehdot ja yksityisyydensuojakäytännöt. Sivujen ja palveluiden käytön tulee olla näiden ehtojen ja käytäntöjen mukaista.
Hide this

Tulokset Google Booksista

Pikkukuvaa napsauttamalla pääset Google Booksiin.

Programming: Principles and Practice Using C…
Ladataan...

Programming: Principles and Practice Using C (vuoden 2008 painos)

– tekijä: Bjarne Stroustrup

JäseniäKirja-arvostelujaSuosituimmuussijaKeskimääräinen arvioKeskustelut
1521140,042 (4.4)-
An Introduction to Programming by the Inventor of C++ nbsp; Preparation for Programming in the Real World The book assumes that you aim eventually to write non-trivial programs, whether for work in software development or in some other technical field. nbsp; Focus on Fundamental Concepts and Techniques The book explains fundamental concepts and techniques in greater depth than traditional introductions. This approach will give you a solid foundation for writing useful, correct, maintainable, and efficient code. nbsp; Programming with Today's C++ (C++11 and C++14) The book is an introduction to programming in general, including object-oriented programming and generic programming. It is also a solid introduction to the C++ programming language, one of the most widely used languages for real-world software. The book presents modern C++ programming techniques from the start, introducing the C++ standard library and C++11 and C++14 features to simplify programming tasks. nbsp; For Beginners--And Anyone Who Wants to Learn Something New The book is primarily designed for people who have never programmed before, and it has been tested with many thousands of first-year university students. It has also been extensively used for self-study. Also, practitioners and advanced students have gained new insight and guidance by seeing how a master approaches the elements of his art. nbsp; Provides a Broad View The first half of the book covers a wide range of essential concepts, design and programming techniques, language features, and libraries. Those will enable you to write programs involving input, output, computation, and simple graphics. The second half explores more specialized topics (such as text processing, testing, and the C programming language) and provides abundant reference material. Source code and support supplements are available from the author's website. nbsp;… (lisätietoja)
Jäsen:BUMPCS
Teoksen nimi:Programming: Principles and Practice Using C
Kirjailijat:Bjarne Stroustrup
Info:Addison-Wesley Educational Publishers Inc (2008), Edition: 1, Broché, 1272 pages
Kokoelmat:Oma kirjasto
Arvio (tähdet):
Avainsanoja:-

Teoksen tarkat tiedot

Programming: Principles and Practice Using C++ (tekijä: Bjarne Stroustrup)

Viimeisimmät tallentajatcmc, volfy, berezovskyi, M.A.H., StudyOfLife, bdaugero
-
Ladataan...

Kirjaudu LibraryThingiin, niin näet, pidätkö tästä kirjasta vai et.

Ei tämänhetkisiä Keskustelu-viestiketjuja tästä kirjasta.

All other textbooks in this category of which I am aware are downright bad; misleading, error-filled, and incoherent. This book is well-organized and thoughtful. The presentation is a good approach to teaching the craft of programming instead of a garbled mess of syntactic points and confusing caveats. The author even makes a convincing case for learning to program in C++ and I find myself warming, slightly, to the language itself.

Chapters 6 and 7 may be too much of a mental overload for most students. They present successive attempted solutions to the problem of designing a simple calculator. Unfortunately, the presentation requires the student to understand and agree with the incorrect solution proposed and then deconstructed and improved. The likely result is simply confusion on the student's part. Since my class is small, I can rely on the student solutions containing all sorts of errors. These will provide the fodder for analysis and improvement, and will work better than the author's made-up example. The author is now a professor at Texas A&M; the introductory class is large and it's impossible to give student solutions individual attention.

The author uses the newline character as a line separator. This is weird, given his obvious enthusiasm for abstraction I would have expected him to use endl. If he explains this preference anywhere in the book I haven't seen it.

This book receives five stars because it is so superior to every other introductory programming in C++ textbook I have encountered rather than because it is unflawed.

==========================================================================================================

26. Testing

26.1 What we want.
26.2 Proofs. Tough. Pace Hoare.
26.3 Testing.
26.3.1 Regression Tests - for catching regression, of course.
26.3.2 Unit tests.
Develops a simple framework for running unit tests. Advises to separate examples from the runner. Shows how it's possible to generate random tests (write stuff into a file).
26.3.3 Unfortunately, most functions are written by people who have only a vague idea of what the functions are supposed to do. How do w test those? There is also the added problem of hidden dependencies. Maybe if we find enough bugs someone will figure out a better design. Resource management in C++ is a quagmire, and a good source of bugs for testers to find. Loops and branches are hard for some, but not if you have that strong formal methods background, so not for me. Of course, one must always remember the dreaded C buffer overrun.
26.3.4 System tests. That kind of thing is hard. For GUIs, better to separate the GUI from the engine, so that you can test the engine in isolation.
26.3.5 Testing classes. This is the pointless section.
26.3.6 Finding assumptions that do not hold. How to verify that the preconditions of a method are satisfied whenever it is called.
26.4 Design for testing. Of course.
26.5 Debugging. One paragraph --- "definitely hate debugging." I guess I'm on board with these guys on that one.
26.6 Performance. Don't be stupid and convert a linear algorithm into a polynomial one through inattention (there are some obvious examples). Otherwise, don't optimize prematurely. For timing, use clock().

Not much useful for someone like me, except for the reminder that C++ is like C so, buffer overruns. ( )
  themulhern | Sep 24, 2011 |
ei arvosteluja | lisää arvostelu
Sinun täytyy kirjautua sisään voidaksesi muokata Yhteistä tietoa
Katso lisäohjeita Common Knowledge -sivuilta (englanniksi).
Kanoninen teoksen nimi
Tiedot ranskankielisestä Yhteisestä tiedosta. Muokkaa kotoistaaksesi se omalle kielellesi.
Alkuteoksen nimi
Teoksen muut nimet
Alkuperäinen julkaisuvuosi
Henkilöt/hahmot
Tärkeät paikat
Tärkeät tapahtumat
Kirjaan liittyvät elokuvat
Palkinnot ja kunnianosoitukset
Epigrafi (motto tai mietelause kirjan alussa)
Omistuskirjoitus
Ensimmäiset sanat
Sitaatit
Viimeiset sanat
Erotteluhuomautus
Julkaisutoimittajat
Kirjan kehujat
Alkuteoksen kieli
Canonical DDC/MDS

Viittaukset tähän teokseen muissa lähteissä.

Englanninkielinen Wikipedia (3)

An Introduction to Programming by the Inventor of C++ nbsp; Preparation for Programming in the Real World The book assumes that you aim eventually to write non-trivial programs, whether for work in software development or in some other technical field. nbsp; Focus on Fundamental Concepts and Techniques The book explains fundamental concepts and techniques in greater depth than traditional introductions. This approach will give you a solid foundation for writing useful, correct, maintainable, and efficient code. nbsp; Programming with Today's C++ (C++11 and C++14) The book is an introduction to programming in general, including object-oriented programming and generic programming. It is also a solid introduction to the C++ programming language, one of the most widely used languages for real-world software. The book presents modern C++ programming techniques from the start, introducing the C++ standard library and C++11 and C++14 features to simplify programming tasks. nbsp; For Beginners--And Anyone Who Wants to Learn Something New The book is primarily designed for people who have never programmed before, and it has been tested with many thousands of first-year university students. It has also been extensively used for self-study. Also, practitioners and advanced students have gained new insight and guidance by seeing how a master approaches the elements of his art. nbsp; Provides a Broad View The first half of the book covers a wide range of essential concepts, design and programming techniques, language features, and libraries. Those will enable you to write programs involving input, output, computation, and simple graphics. The second half explores more specialized topics (such as text processing, testing, and the C programming language) and provides abundant reference material. Source code and support supplements are available from the author's website. nbsp;

No library descriptions found.

Kirjan kuvailu
Yhteenveto haiku-muodossa

Pikalinkit

Suosituimmat kansikuvat

Arvio (tähdet)

Keskiarvo: (4.4)
0.5
1
1.5
2
2.5
3 1
3.5
4 4
4.5
5 5

Penguin Australia

Penguin Australia on julkaissut painoksen tästä kirjasta.

» Kustantajan sivusto

GenreThing

Ei lajityyppiä

Oletko sinä tämä henkilö?

Tule LibraryThing-kirjailijaksi.

 

Lisätietoja | Ota yhteyttä | LibraryThing.com | Yksityisyyden suoja / Käyttöehdot | Apua/FAQ | Blogi | Kauppa | APIs | TinyCat | Perintökirjastot | Varhaiset kirja-arvostelijat | Yleistieto | 160,345,581 kirjaa! | Yläpalkki: Aina näkyvissä