Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
6Activity

Table Of Contents

1 Getting Started
1.1 Hello, world!
1.2 Compiling C++
1.2.1 The compilation process
1.2.2 Compiling with Visual C++ .NET
1.2.3 Compiling with gcc
1.3 Hello, world!— The Details
1.4 Namespaces
1.5 Strings
1.6 A Pretty Frame
2 Testing and Looping
2.1 Conditions
2.2 Conditional Expressions
2.3 Loops
2.4 Example: Computing the Frame
2.5 Counting
2.6 Loop Design
2.6.1 Counting Lines
2.6.2 Finding Roots by Bisection
2.6.3 Maximum Subsequence
2.7 Assertions
2.8 Oh Notation
3 Batches of Data
3.1 Lvalues and Rvalues
3.2 Passing Arguments
3.3 Reading Data
3.4 Reading from a file
3.4.1 Writing to a file
3.4.2 Stream States
3.4.3 Summary of file streams
3.5 Storing Data: STL Containers
3.5.1 Summary of STL
4 Application: Grading a class
4.1 Problem Statement
4.2 First version
4.3 Program Structure
4.3.1 Header Files
4.3.2 Implementation Files
4.4 Structuring the grading program
4.4.1 Translation unit Student
4.4.2 Translation unit median
4.4.3 Translation unit for the main program
4.5 Dependencies
4.6 Strings and characters
5 Pointers and Iterators
5.1 Pointers and Dynamic Allocation
5.1.1 Stack Allocation
5.1.2 Heap Allocation
5.1.3 A note on null pointers
5.2 Iterators
5.2.1 Kinds of iterator
5.2.2 Using iterators
5.2.3 Range Functions
6 Template Programming
6.1 Template functions
6.1.1 Type Parameters
6.1.2 Missing functions
6.1.3 Conversion failure
6.1.4 Non-type Parameters
6.2 Template classes
6.2.1 A template class for vectors
6.2.2 class or typename?
6.3 Complications
6.3.1 Compiling template code
6.3.2 Template return types
6.3.3 Template Specialization
6.3.4 Default Arguments
6.4 Tree traversal
6.4.1 Organizing the code
7 Designing classes
7.1 Constructors
7.3.2 Arithmetic
ments of Figure 68 on page 118
7.3.3 Comparison
7.3.4 Input and output
7.4 Conversions
7.5 Accessors
7.6 Mutators
7.7 Odds and ends
7.7.1 Indexing (operator[])
7.7.2 Calling (operator())
7.7.3 Explicit constructors
7.7.4 Friends
8 Inheritance and templates
8.1 What is inheritance?
8.1.1 Slicing
8.1.2 Constructors and destructors
8.2 Designing a base class
8.2.1 virtual functions
8.2.2 Don’t redefine non-virtual functions
8.2.3 protected attributes
8.2.4 A base class for bankers
8.3 Designing a derived class
8.3.1 A derived class for bankers
8.3.2 Additional base class functions
8.4 Designing a template class
8.5 Note on iterators
9 When things go wrong
9.1 Design by contract versus defensive coding
9.2 Exceptions
9.3.4 Exceptions
9.4 Exception-safe Coding
10 System Design
10.1 Logical and physical design
10.3 Cohesion
10.4 Coupling
10.4.1 Encapsulation
10.4.2 Hidden coupling
10.4.3 Compilation dependencies
10.4.4 Cyclic Dependencies
10.4.6 Inlining
10.5 Improving system structure
10.5.1 CRC Cards
10.5.2 Refactoring
10.6 Using Patterns
10.6.1 Singleton
10.6.2 Composite
10.6.3 Visitor
11 Potpourri
11.1 Concepts to Practice
11.2 Auto-pointers
11.3 Multithreading
11.3.1 Multithreading in C++
11.4.1 Static assertions
11.4.2 Policies
11.5.1 Traits
11.5.2 Template metaprogramming
11.5.4 The Curiously Recurring Template Pattern
A Coding Standards
A.1 Rules
A.2 Layout
A.2.1 Tabs and Blanks
A.3 Comments
A.4 Names
A.4.1 Hungarian Notation
A.5 Constants and Literals
A.6 const
A.7 Variables
A.8 Functions
A.8.1 Parameters
A.8.2 Operators
A.9 Style
B Glossary
References
0 of .
Results for:
No results containing your search query
P. 1
software development in c++

software development in c++

Ratings: (0)|Views: 340|Likes:
Published by Varun Pandey

More info:

Published by: Varun Pandey on Apr 03, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/01/2013

pdf

text

original

You're Reading a Free Preview
Pages 6 to 56 are not shown in this preview.
You're Reading a Free Preview
Pages 62 to 126 are not shown in this preview.
You're Reading a Free Preview
Pages 132 to 174 are not shown in this preview.
You're Reading a Free Preview
Pages 180 to 228 are not shown in this preview.
You're Reading a Free Preview
Pages 234 to 255 are not shown in this preview.

Activity (6)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
bvernay liked this
sangita phunde liked this
akbisoi1 liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->