Computer programming with C++:
"Provides an in-depth explanation of the C and C++ programming languages along with the fundamentals of object oriented programming paradigm"...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Cambridge
Cambridge University Press
2017
|
Ausgabe: | First published |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Zusammenfassung: | "Provides an in-depth explanation of the C and C++ programming languages along with the fundamentals of object oriented programming paradigm"... |
Beschreibung: | xii, 1002 Seiten |
ISBN: | 9781316506806 1316506800 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV044288419 | ||
003 | DE-604 | ||
005 | 20171113 | ||
007 | t | ||
008 | 170428s2017 xxk |||| 00||| eng d | ||
010 | |a 015051227 | ||
020 | |a 9781316506806 |c pbk. |9 978-1-316-50680-6 | ||
020 | |a 1316506800 |9 1-316-50680-0 | ||
035 | |a (OCoLC)985542213 | ||
035 | |a (DE-599)BVBBV044288419 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a eng | |
044 | |a xxk |c GB | ||
049 | |a DE-473 |a DE-11 |a DE-739 | ||
050 | 0 | |a QA76.73.C153 | |
082 | 0 | |a 005.13/3 |2 23 | |
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
100 | 1 | |a Pimparkhede, Kunal |e Verfasser |0 (DE-588)1132727944 |4 aut | |
245 | 1 | 0 | |a Computer programming with C++ |c Kunal Pimparkhede |
250 | |a First published | ||
264 | 1 | |a Cambridge |b Cambridge University Press |c 2017 | |
300 | |a xii, 1002 Seiten | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
520 | |a "Provides an in-depth explanation of the C and C++ programming languages along with the fundamentals of object oriented programming paradigm"... | ||
650 | 7 | |a COMPUTERS / Programming Languages / General |2 bisacsh | |
650 | 4 | |a C++ (Computer program language) | |
650 | 4 | |a C (Computer program language) | |
650 | 4 | |a Object-oriented programming (Computer science) | |
650 | 4 | |a Computer programming | |
650 | 4 | |a COMPUTERS / Programming Languages / General | |
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 Bamberg - ADAM Catalogue Enrichment |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029692581&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-029692581 |
Datensatz im Suchindex
_version_ | 1804177484042731520 |
---|---|
adam_text | Contents
Preface xi
Acknowledgements xiii
1. Introduction 3
1.1 Overview 3
1.2 Computer System Architecture 8
1.3 C/C++ Development Environment 13
1.4 Evolution of Programming Languages 17
2. Fundamentals 23
2.1 Overview 23
2.2 The First C/C++ Program 23
2.3 Writing Comments 27
2.4 Constants or Literals 28
2.5 Variables and Data Types 31
2.6 printf () Statement (Supported by both C and C++) 38
2.7 C++ Style of Printing the Value on Computer Screen 49
2.8 endl Modifier (Supported by C++not by C) 51
2.9 Accepting User Input Using scanf () Function (Supported by both
C and C++) 52
2.10 cin Object in C++ (Only in C++ not in C) 58
2.11 Manipulator setw 63
2.12 Defining Constants using #def ine—A Pre-processor Directive 65
2.13 Character Specific Input/Output 66
3. Operators and Type Casting 71
3.1 Overview 71
3.2 Arithmetic Operators 77
3.3 Relational Operators 82
vi ♦ Contents
3.4 Shorthand Operators 84
3.5 Bitwise Operators in C/C++ 85
3.6 Increment/Decrement Operators 89
3.7 Order of Operations Evaluated by the print f () Statement 94
3.8 Implicit Type Casting/System Casting 97
3.9 Explicit Type Casting 97
3.10 sizeof Operator in C/C++ 101
3.11 Scope Resolution Operator(::) | Only in C++ not in C 102
4. Decision Making Control Statements 110
4.1 Overview 110
4.2 if else Statement 110
4.3 Logical Operators 123
4.4 else if Ladder 125
4.5 switch Statement 132
4.6 Ternary Operator/Conditional Operator 135
4.7 goto Statement 139
5. Iterative Control Statements: Loops 146
5.1 Introduction 146
5.2 whi 1 e Loop in C/C++ 149
5.3 for Loop in C/C++ 164
5.4 do. .while Loop 180
5.5 break and continue Statements 183
5.6 Infinite Loops 190
5.7 Comma Operator with for Loop 192
5.8 Creating Variables Local to Loops (Possible in C++ but not in C) 192
5.9 Empty Loops 193
6. Arrays 216
6.1 Overview 216
6.2 Creating an Array 218
6.3 Array of Characters 238
6.4 2D Arrays 252
6.5 2D Array of Characters 261
6.6 String-Specific Input and Output Operations: gets () /puts () 264
7. Functions 299
7.1 Overview 299
7.2 Creating Functions 303
7.3 Local Variables of the Function 309
7.4 Functions with Arguments 313
7.5 Functions with Return Values 318
Contents ♦ vii
7.6 Passing Array as an Argument to the Function 325
7.7 Recursion 329
7.8 Activation frames: How Function Calls and Returns are Internally
Handled in C/C++ 337
7.9 Storage Classes in C/C++ 342
7.10 Inline Functions in C/C++ 345
7.11 Function with Default Arguments (Only in C++ not in C) 347
7.12 Command Line Arguments 349
7.13 Some Built-in Functions 353
8. Pointers 371
8.1 Overview 371
8.2 Creating Pointers 377
8.3 Data Type of Pointers 380
8.4 Types of Function Calls 383
8.5 Arithmetic Operations with Pointers 393
8.6 Accessing Array Elements using a Pointer 400
8.7 Initialization of an Array: Revisited 407
8.8 Self-addressability of Character Variables 413
8.9 Array of Pointers 415
8.10 Pointer to a Pointer 418
8.11 Pointers and 2D Arrays 420
8.12 void Pointers 426
8.13 Pointer to a Function 427
8.14 Reference Variables (Only Available in C++not in C) 429
8.15 Lvalue and Rvalue 433
9. Structures and Unions 445
9.1 Overview 445
9.2 Creating Structures 446
9.3 Array of Structure Objects 457
9.4 Nesting of Structures 469
9.5 Structures and Pointers 472
9.6 Accessing Array of Objects using a Pointer 476
9.7 Passing Object as an Argument to a Function 479
9.8 Difference between Structure and Union 481
10. Dynamic Memory Allocation in C++ 497
10.1 Overview 497
10.2 Dynamic Memory Management in C++ 499
10.3 Linked List 509
10.4 delete Keyword in C++ 527
viii ♦ Contents
11. Classes and Objects 533
11.1 Overview 533
11.2 Creating Classes 537
11.3 Creating Objects of a Class 538
11.4 Access Specifiers in C++ 542
11.5 Data Hiding and Encapsulation 545
11.6 Employee Management System: An Example 548
11.7 Account Management System: An Example 554
11.8 Calculating Slope of the Line: An Example 559
11.9 Addition of Complex Numbers: An Example 563
11.10 Addition of Points in Cartesian Coordinate System: An Example 567
11.11 Array of Objects 569
11.12 Employee Management System: Revisited 571
11.13 friend Functions 573
11.14 Addition of Point Objects using friend Function: An Example 574
11.15 Pointer to Objects 580
11.16 Binding of Pointers with Individual Members of the Class 584
11.17 this Pointer 589
11.18 Resolving Ambiguity using this Pointer 592
11.19 Cloning Objects using this Pointer: An Example 594
11.20 Dynamic Memory Allocation of Objects 596
11.21 Linked List to Maintain Data about Employees 600
11.22 Composition and Aggregation between Classes 609
11.23 Converting the Relationship to Aggregation 615
11.24 Defining the Member Functions Outside Class using Scope Resolution
Operator 620
11.25 Function Overloading and Compile Time Binding 622
11.26 Local Classes 625
11.27 Nested Classes 627
12. Constructors and Destructors 652
12.1 Overview 652
12.2 Creating Constructors 654
12.3 Constructor Overloading 659
12.4 Program to Perform Addition of Point Objects using Constructors: An
Example 665
12.5 Constructor with Default Arguments 668
12.6 Cloning Objects using Constructor/Copy Constructor 669
12.7 Allocating Dynamic Memory Inside Constructor 674
12.8 Destructors in C++ 680
12.9 Static Members and Static Member Functions 684
Contents ♦ ix
13. Operator Overloading 699
13.1 Overview 699
13.2 Overloading Operators 700
13.3 Overloading One s Complement - and Minus ֊ Operators: An Example 703
13.4 Overloading Binary Operators Plus + and Minus - 707
13.5 Overloading Shorthand Operators: An Example 713
13.6 Overloading Relational Operators: An Example 716
13.7 Overloading Increment/Decrement Operators: An Example 720
13.8 Function Object: Overloading Function Call Operator () 726
13.9 Overloading Subscript Operator [] 728
13.10 Overloading Assignment Operator = 731
13.11 Overloading Type Cast Operator 735
13.12 Conversion of One User-defined Type to Another 738
13.13 Creating Global Operator Functions 741
13.14 Overloading Insertion and Extraction Operator for Student Objects:
An Example 745
13.15 Overloading Operators new and delete 749
13.16 Overloading operator - 754
14. Inheritance 770
14.1 Overview 770
14.2 Creating a Parent-Child Relationship between Classes 773
14.3 Access Specifiers in C++: Revisited 776
14.4 Types of Inheritance 788
14.5 IS-A and HAS-A Relationship: An Example 793
14.6 Multi-level Inheritance: Calculator 801
14.7 Resolving Ambiguity in Multiple Inheritance 808
14.8 Virtual Base Class 813
14.9 Function Overriding 821
14.10 Pointers and Inheritance 824
14.11 Overriding a Function with Different Return Type 831
14.12 Virtual Functions and Runtime Polymorphism 833
14.13 Virtual Tables 843
14.14 Pure Virtual Functions and Abstract Classes 851
14.15 static_cast and dynamic_cast 854
14.16 Constructors and Inheritance 858
14.17 Working of Constructors with Multiple Inheritance 863
14.18 Destructors and Inheritance 864
14.19 Virtual Destructors 867
15. Input and Output Streams in C++ 881
15.1 Overview 881
15.2 Types of I/O Streams 882
x + Contents
15.3 Console Input and Output in C++ 883
15.4 Formatted v/s Unformatted I/O Operations 884
15.5 Formatting the Output using Member Functions of Class ios 885
15.6 Formatted I/O using ios Flags 889
15.7 Formatted I/O using Manipulators 893
15.8 Creating your Own Manipulator 894
15.9 Passing Arguments to the Custom Manipulator 895
15.10 Character by Character Unformatted I/O Operations 897
15.11 Line by Line Unformatted I/O Operations 900
15.12 File 1/O Operations 902
15.13 Performing Operations on File 904
-a 15.14 Closing the File 914
15.15 File Pointer Manipulation Functions 915
16. Templates in C++ 928
16.1 Over vie w 928
16.2 Function Templates 928
16.3 Class Templates 933
16.4 Standard Template Library: One of the Applications of Class Templates 937
16.5 Implementation of Stack using Linked List: An Example 959
16.6 Queue using List 964
17. Exception Handling in C++ 969
17.1 Overview 969
17.2 Exception Handler in C++ 970
17.3 throw Keyword 971
17.4 Examples 971
17.5 Order of writing Catch Blocks 981
17.6 Catching and Throwing User-defined Objects 982
17.7 Program Specifying Throw List 986
17.8 C++ Built-in Exception Classes 988
ASCII Values 994
List of Keywords in C++ 998
Software Development Life Cycle 999
Bibliography 1002
|
any_adam_object | 1 |
author | Pimparkhede, Kunal |
author_GND | (DE-588)1132727944 |
author_facet | Pimparkhede, Kunal |
author_role | aut |
author_sort | Pimparkhede, Kunal |
author_variant | k p kp |
building | Verbundindex |
bvnumber | BV044288419 |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.73.C153 |
callnumber-search | QA76.73.C153 |
callnumber-sort | QA 276.73 C153 |
callnumber-subject | QA - Mathematics |
classification_rvk | ST 250 |
ctrlnum | (OCoLC)985542213 (DE-599)BVBBV044288419 |
dewey-full | 005.13/3 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.13/3 |
dewey-search | 005.13/3 |
dewey-sort | 15.13 13 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
edition | First published |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01867nam a2200469 c 4500</leader><controlfield tag="001">BV044288419</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20171113 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">170428s2017 xxk |||| 00||| eng d</controlfield><datafield tag="010" ind1=" " ind2=" "><subfield code="a">015051227</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781316506806</subfield><subfield code="c">pbk.</subfield><subfield code="9">978-1-316-50680-6</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1316506800</subfield><subfield code="9">1-316-50680-0</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)985542213</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV044288419</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="044" ind1=" " ind2=" "><subfield code="a">xxk</subfield><subfield code="c">GB</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-473</subfield><subfield code="a">DE-11</subfield><subfield code="a">DE-739</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA76.73.C153</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.13/3</subfield><subfield code="2">23</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">Pimparkhede, Kunal</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1132727944</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Computer programming with C++</subfield><subfield code="c">Kunal Pimparkhede</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">First published</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Cambridge</subfield><subfield code="b">Cambridge University Press</subfield><subfield code="c">2017</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">xii, 1002 Seiten</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="520" ind1=" " ind2=" "><subfield code="a">"Provides an in-depth explanation of the C and C++ programming languages along with the fundamentals of object oriented programming paradigm"...</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS / Programming Languages / General</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">C++ (Computer program language)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">C (Computer program language)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Object-oriented programming (Computer science)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Computer programming</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">COMPUTERS / Programming Languages / General</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 Bamberg - 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=029692581&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-029692581</subfield></datafield></record></collection> |
id | DE-604.BV044288419 |
illustrated | Not Illustrated |
indexdate | 2024-07-10T07:48:48Z |
institution | BVB |
isbn | 9781316506806 1316506800 |
language | English |
lccn | 015051227 |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-029692581 |
oclc_num | 985542213 |
open_access_boolean | |
owner | DE-473 DE-BY-UBG DE-11 DE-739 |
owner_facet | DE-473 DE-BY-UBG DE-11 DE-739 |
physical | xii, 1002 Seiten |
publishDate | 2017 |
publishDateSearch | 2017 |
publishDateSort | 2017 |
publisher | Cambridge University Press |
record_format | marc |
spelling | Pimparkhede, Kunal Verfasser (DE-588)1132727944 aut Computer programming with C++ Kunal Pimparkhede First published Cambridge Cambridge University Press 2017 xii, 1002 Seiten txt rdacontent n rdamedia nc rdacarrier "Provides an in-depth explanation of the C and C++ programming languages along with the fundamentals of object oriented programming paradigm"... COMPUTERS / Programming Languages / General bisacsh C++ (Computer program language) C (Computer program language) Object-oriented programming (Computer science) Computer programming COMPUTERS / Programming Languages / General C++ (DE-588)4193909-8 gnd rswk-swf C++ (DE-588)4193909-8 s DE-604 Digitalisierung UB Bamberg - ADAM Catalogue Enrichment application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029692581&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Pimparkhede, Kunal Computer programming with C++ COMPUTERS / Programming Languages / General bisacsh C++ (Computer program language) C (Computer program language) Object-oriented programming (Computer science) Computer programming COMPUTERS / Programming Languages / General C++ (DE-588)4193909-8 gnd |
subject_GND | (DE-588)4193909-8 |
title | Computer programming with C++ |
title_auth | Computer programming with C++ |
title_exact_search | Computer programming with C++ |
title_full | Computer programming with C++ Kunal Pimparkhede |
title_fullStr | Computer programming with C++ Kunal Pimparkhede |
title_full_unstemmed | Computer programming with C++ Kunal Pimparkhede |
title_short | Computer programming with C++ |
title_sort | computer programming with c |
topic | COMPUTERS / Programming Languages / General bisacsh C++ (Computer program language) C (Computer program language) Object-oriented programming (Computer science) Computer programming COMPUTERS / Programming Languages / General C++ (DE-588)4193909-8 gnd |
topic_facet | COMPUTERS / Programming Languages / General C++ (Computer program language) C (Computer program language) Object-oriented programming (Computer science) Computer programming C++ |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029692581&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT pimparkhedekunal computerprogrammingwithc |