Programming: Principles and Practice Using C++: principles and practice using C++
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Hoboken, NJ
Addison-Wesley
2024
|
Ausgabe: | Third edition |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | xi, 639 Seiten Illustrationen, Diagramme |
ISBN: | 9780138308681 0138308683 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV049886913 | ||
003 | DE-604 | ||
005 | 20241111 | ||
007 | t| | ||
008 | 240926s2024 xx a||| |||| 00||| eng d | ||
020 | |a 9780138308681 |c Broschur |9 978-0-13-830868-1 | ||
020 | |a 0138308683 |9 0-13-830868-3 | ||
035 | |a (OCoLC)1430963058 | ||
035 | |a (DE-599)BVBBV049886913 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a eng | |
049 | |a DE-862 |a DE-1050 |a DE-739 | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
100 | 1 | |a Stroustrup, Bjarne |d 1950- |e Verfasser |0 (DE-588)118044710 |4 aut | |
245 | 1 | 0 | |a Programming: Principles and Practice Using C++ |c Bjarne Stroustrup |
250 | |a Third edition | ||
264 | 1 | |a Hoboken, NJ |b Addison-Wesley |c 2024 | |
300 | |a xi, 639 Seiten |b Illustrationen, Diagramme | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 0 | 7 | |a C++ |0 (DE-588)4193909-8 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a C++ |0 (DE-588)4193909-8 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m Digitalisierung UB Passau - ADAM Catalogue Enrichment |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=035226150&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-035226150 |
Datensatz im Suchindex
DE-BY-862_location | 2000 |
---|---|
DE-BY-FWS_call_number | 2000/ ST 250 C01 S925 P9(3) |
DE-BY-FWS_media_number | 083000527692 |
_version_ | 1819742359619895296 |
adam_text |
Contents Preface ix 0 Notes to the Reader 1 0.1 0.2 0.3 0.4 0.5 0.6 The structure of this book 2 A philosophy of teaching and learning 5 ISO standard C++ 8 PPP support. 11 Author biography.13 Bibliography . 13 Part I: The Basics 1 Hello, World! 1.1 1.2 1.3 1.4 1.5 Programs 18 The classic first program. 18 Compilation . 21 Linking. 23 Programming environments. 24 17
iv Contents 2 Objects, Types, and Values 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 Input. 30 Variables. 32 Input and type . 33 Operations and operators . 34 Assignment and initialization . 36 Names . 40 Types and objects. 42 Type safety. 43 Conversions.44 Type deduction: auto. 46 3 Computation 3.1 3.2 3.3 3.4 3.5 3.6 3.7 29 51 Computation. . 52 Objectives and tools. 53 Expressions . 55 Statements. 58 Functions. 68
vector. 71 Language features . 77 4 Errors! 83 4.1 4.2 4.3 4.4 4.5 4.6 4.7 Introduction . 84 Sources of errors . 85 Compile-time errors. 86 Link-time errors .88 Run-time errors.89 Exceptions. 94 Avoiding and finding errors .99 5 Writing a Program 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 A problem. 116 Thinking about the problem.116 Back to the calculator! . 119 Back to the drawing board. 126 Turning a grammar into code. 130 Trying the first version. 136 Trying the second
version. 140 Token streams .142 Program structure. 146 115
V 6 Completing a Program 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 Introduction. 152 Input and output. 152 Error handling . 154 Negative numbers. 156 Remainder: %. 157 Cleaning up the code.158 Recovering from errors. 164 Variables. 167 7 Technicalities: Functions, etc. 7.1 7.2 7.3 7.4 7.5 7.6 7.7 179 Technicalities . 180 Declarations and definitions. 181 Scope. 186 Function call and return . 190 Order of evaluation . 206 Namespaces. 209 Modules and headers. 211 8 Technicalities: Classes, etc. 8.1 8.2 8.3 8.4 8.5 8.6 8.7 151 221
User-defined types . 222 Classes and members . 223 Interface and implementation . 223 Evolving a class: Date . 225 Enumerations . 233 Operator overloading . 236 Class interfaces . 237 Part II: Input and Output 9 Input and Output Streams 9.1 9.2 9.3 9.4 9.5 9.6 9.7 9.8 Input and output.252 The I/O stream model . 253 Files. 254 I/O error handling . 258 Reading a single value . 261 User-defined output operators. 266 User-defined input operators. 266 A standard input loop. 267 251
vi Contents 9.9 Reading a structured file . 269 9.10 Formatting. 276 9.11 String streams . 283 10 A Display Model 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 Why graphics? . 290 A display model. 290 A first example. .292 Using a GUI library . 295 Coordinates. 296 Shapes . 297 Using Shape primitives . 297 Getting the first example to run . 309 11 Graphics Classes 11.1 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.10 355 Design principles .356 Shape. 360 Base and derived classes. 367 Other Shape
functions. 375 Benefits of object-oriented programming.376 13 Graphing Functions and Data 13.1 13.2 13.3 13.4 315 Overview of graphics classes. 316 Point and Line . 317 Lines.320 Color. 323 Line_style. 325 Polylines. 328 Closed shapes. 333 Text. .346 Mark. 348 Image .350 12 Class Design 12.1 12.2 12.3 12.4 12.5 289 Introduction . 382 Graphing simple functions. 382
Function.386 Axis. 390 381
vii 13.5 13.6 Approximation. 392 Graphing data. 397 14 Graphical User Interfaces 14.1 14.2 14.3 14.4 14.5 14.6 14.7 409 User-interface alternatives .410 The “Next” button. 411 A simple window. 412 Button and other Widgets. 414 An example: drawing lines . 419 Simple animation. 426 Debugging GUI code . 427 Part III: Data and Algorithms 15 Vector and Free Store 15.1 15.2 15.3 15.4 15.5 15.6 15.7 15.8 Introduction. 436 vector basics . 437 Memory, addresses, and pointers. 439 Free store and pointers. . 442 Destructors . 447 Access to elements. 451 An example:
lists. 452 The this pointer. 456 16 Arrays, Pointers, and References 16.1 16.2 16.3 16.4 16.5 463 Arrays. 464 Pointers and references . 468 C-style strings .471 Alternatives to pointer use . 472 An example: palindromes . 475 17 Essential Operations 17.1 17.2 17.3 17.4 17.5 435 Introduction.484 Access to elements. 484 List initialization. 486 Copying and moving. 488 Essential operations . 495 483
viii Contents 17.6 17.7 17.8 17.9 Other useful operations. 500 Remaining Vector problems . 502 Changing size. 504 Our Vector so far. 509 18 Templates and Exceptions 18.1 18.2 18.3 18.4 18.5 Templates. 514 Generalizing Vector. 522 Range checking and exceptions. 525 Resources and exceptions . 529 Resource-management pointers. 537 19 Containers and Iterators 19.1 19.2 19.3 19.4 19.5 19.6 Index 577 Associative containers. 578 map. 578 unordered_map .585 Timing. 586 set.589 Container overview .
591 Ranges and iterators. 597 21 Algorithms 21.1 21.2 21.3 21.4 21.5 545 Storing and processing data.546 Sequences and iterators. 552 Linked lists. 555 Generalizing Vector yet again. 560 An example: a simple text editor . 566 vector, list, and string. 572 20 Maps and Sets 20.1 20.2 20.3 20.4 20.5 20.6 20.7 513 603 Standard-library algorithms .604 Function objects. 610 Numerical algorithms. 614 Copying. 619 Sorting and searching. 620 625 |
any_adam_object | 1 |
author | Stroustrup, Bjarne 1950- |
author_GND | (DE-588)118044710 |
author_facet | Stroustrup, Bjarne 1950- |
author_role | aut |
author_sort | Stroustrup, Bjarne 1950- |
author_variant | b s bs |
building | Verbundindex |
bvnumber | BV049886913 |
classification_rvk | ST 250 |
ctrlnum | (OCoLC)1430963058 (DE-599)BVBBV049886913 |
discipline | Informatik |
edition | Third edition |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>00000nam a2200000 c 4500</leader><controlfield tag="001">BV049886913</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20241111</controlfield><controlfield tag="007">t|</controlfield><controlfield tag="008">240926s2024 xx a||| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780138308681</subfield><subfield code="c">Broschur</subfield><subfield code="9">978-0-13-830868-1</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0138308683</subfield><subfield code="9">0-13-830868-3</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)1430963058</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV049886913</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-862</subfield><subfield code="a">DE-1050</subfield><subfield code="a">DE-739</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Stroustrup, Bjarne</subfield><subfield code="d">1950-</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)118044710</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Programming: Principles and Practice Using C++</subfield><subfield code="c">Bjarne Stroustrup</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">Third edition</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Hoboken, NJ</subfield><subfield code="b">Addison-Wesley</subfield><subfield code="c">2024</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">xi, 639 Seiten</subfield><subfield code="b">Illustrationen, Diagramme</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">C++</subfield><subfield code="0">(DE-588)4193909-8</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">C++</subfield><subfield code="0">(DE-588)4193909-8</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Passau - ADAM Catalogue Enrichment</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=035226150&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-035226150</subfield></datafield></record></collection> |
id | DE-604.BV049886913 |
illustrated | Illustrated |
indexdate | 2024-12-29T04:05:50Z |
institution | BVB |
isbn | 9780138308681 0138308683 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-035226150 |
oclc_num | 1430963058 |
open_access_boolean | |
owner | DE-862 DE-BY-FWS DE-1050 DE-739 |
owner_facet | DE-862 DE-BY-FWS DE-1050 DE-739 |
physical | xi, 639 Seiten Illustrationen, Diagramme |
publishDate | 2024 |
publishDateSearch | 2024 |
publishDateSort | 2024 |
publisher | Addison-Wesley |
record_format | marc |
spellingShingle | Stroustrup, Bjarne 1950- Programming: Principles and Practice Using C++ C++ (DE-588)4193909-8 gnd |
subject_GND | (DE-588)4193909-8 |
title | Programming: Principles and Practice Using C++ |
title_auth | Programming: Principles and Practice Using C++ |
title_exact_search | Programming: Principles and Practice Using C++ |
title_full | Programming: Principles and Practice Using C++ Bjarne Stroustrup |
title_fullStr | Programming: Principles and Practice Using C++ Bjarne Stroustrup |
title_full_unstemmed | Programming: Principles and Practice Using C++ Bjarne Stroustrup |
title_short | Programming: Principles and Practice Using C++ |
title_sort | programming principles and practice using c |
title_sub | principles and practice using C++ |
topic | C++ (DE-588)4193909-8 gnd |
topic_facet | C++ |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=035226150&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT stroustrupbjarne programmingprinciplesandpracticeusingc |
Inhaltsverzeichnis
THWS Schweinfurt Zentralbibliothek Lesesaal
Signatur: |
2000 ST 250 C01 S925 P9(3) |
---|---|
Exemplar 1 | ausleihbar Verfügbar Bestellen |