Flylib.com
Page #339 (List of Tables)
Previous page
Table of content
< Day Day Up >
Chapter 1: An Approach To The Art Of Programming
Example 1.1: test.h
Example 1.2: firstclass.h
Example 1.3: firstclass.cpp
Example 1.4: main.cpp
Example 1.5: C-style comments
Example 1.6: C-style comments
Example 1.7: C++-style comment
Example 1.8: C++ comment clutter
Chapter 2: Small Victories—Creating Projects With IDE’s
Example 2.1: firstclass.h
Example 2.2: firstclass.cpp
Example 2.3: main.cpp
Example 2.4: makefile
Chapter 3: Project Walkthrough—An Extended Example
Example 3.1: Robot Rat Pseudocode
Example 3.2: Pseudocode For ProcessingUser Menu Choices
Example 3.3: robotrat.cpp
Example 3.4: move() function pseudocode
Example 3.5: NORTH move pseudocode pen in the UP position
Example 3.6: NORTH move pseudocode pen in DOWN position
Example 3.7: Complete Robot RatSource Code Listing
Chapter 4: Computers, Programs, & Algorithms
Example 4.1: Dumb Sort Test
Program
Chapter 5: Simple Programs
Example 5.1: Disassembled Minimalmain() Function
Example 5.2: Another C++ Program
Example 5.3: Using numeric_limits Template Class to Calculate Type Ranges
Example 5.4: Using the
sizeof
Operator
Example 5.5: Source Code Showing Local,Function, and File Scoping
Example 5.6: file scope linkage
Example 5.7: static linkage
Example 5.8: Registering Functions with atexit()
Example 5.9: Using cin Object to ReadInteger Values from Keyboard
Example 5.10: Testing for Valid Input
Chapter 6: Controlling The Flow Of Program Execution
Example 6.1: if statement
Example 6.2: assignment
Example 6.3: equality
Example 6.4: declaration in condition
Example 6.5: compound statements
Example 6.6: if-else
Example 6.7: ! operator
Example 6.8: compound statements with if-else
Example 6.9: nesting if-else
Example 6.10: use of selection statements
Example 6.11: switch statement
Example 6.12: while statement
Example 6.13: while statement
Example 6.14: use of sentinel value
Example 6.15: nested while statements
Example 6.16: looping forever
Example 6.17: looping forever
Example 6.18: nested while loop
Example 6.19: switch inside of while loop
Example 6.20
Example 6.21: while loop behaving like for loop
Example 6.22: for statement
Example 6.23: for loop scope
Example 6.24: implementing summation
Example 6.25: nesting for statements
Example 6.26: break statement
Example 6.27: looping forever
Example 6.28: continue statement
Example 6.29: labeled statement
Example 6.30: gotoless code
Chapter 7: Pointers and References
Example 7.1: integer objects
Example 7.2: Using & operator
Example 7.3: Using * operator
Example 7.4: dereferencing pointers
Example 7.5: dereferencing pointers
Example 7.6: dynamic memory allocation
Example 7.7: calling object constructor
Example 7.8: calling object constructo
Example 7.9: using a reference
Chapter 8: Arrays
Example 8.1: declaring & using integer array
Example 8.2: using integer array
Example 8.3: manipulating array with for statement
Example 8.4: pointer arithmetic
Example 8.5: garbage out
Example .6: good output
Example 8.7: uninitialized pointers
Example 8.8: good output
Example 8.9: pointer NULL initialization
Example 8.10: using delete operator on pointer array elements
Example 8.11: using 3-dimensional array
Example 8.12: initializing 3-dimensional array
Example 8.13: brace usage
Example 8.14: braceusage
Example 8.15: dynamic array allocation
Example 8.16: dynamic arrayallocation
Example 8.17: dynamic multi-dimensional array allocation
Example 8.19: dynamically allocating2-dimensional array
Chapter 9: Functions
Example 9.1: testfunctionone.h
Example 9.2: testfunctionone.cpp
Example 9.3: main.cpp
Example 9.4: local function variables
Example 9.5: masking global variables
Example 9.6: block scope
Example 9.7: scope of variables in looping statements
Example 9.8: static function variables
Example 9.9: masking function parameters
Example 9.10: function call with argument
Example 9.11: testfunctionfour.h
Example 9.12: testfunctionfour.cpp
Example 9.13: main.cpp
Example 9.14: passing addresses by copy
Example 9.15: testfunctionfive.cpp
Example 9.16: main.cpp
Example 9.17: main.cpp
Example 9.18: testfunctionsix.cpp
Example 9.19: main.cpp
Example 9.20: printIntArray()
Example 9.21: printintarray.cpp
Example 9.22: main.cpp
Example 9.23: print_2d_int_array.h
Example 9.24: print_2d_int_array.cpp
Example 9.25: main.cpp
Example 9.26: sort_int_array.h
Example 9.27: sort_int_array.cpp
Example 9.28: main.cpp
Example 9.29: returnint.cpp
Example 9.30: main.cpp
Example 9.31: square.h
Example 9.32: square.cpp
Example 9.33: main.cpp
Example 9.34: getnewintaddress.h
Example 9.35: getnewintaddress.cpp
Example 9.36: main.cpp
Example 9.37: getlargestinteger.h
Example 9.38: getlargestinteger.cpp
Example 9.39: main.cpp
Example 9.40: functiona.h
Example 9.41: functiona.cpp
Example 9.42: main.cpp
Example 9.43: countinput.h
Example 9.44: countinput.cpp
Example 9.45: main.cpp
Example 9.46: quicksort.h
Example 9.47: quicksort.cpp
Example 9.48: main.cpp
Example 9.49: arithfunctions.h
Example 9.50: arithfunctions.cpp
Example 9.51: main.cpp
Example 9.52: dumbsort.h
Example 9.53: dumbsort.cpp
Example 9.54: main.cpp
Chapter 10: Toward Problem Abstraction—Creating New Data Types
Example 10.1: mydefs.h
Example 10.2: calculatepay.h
Example 10.3: calculatepay.cpp
Example 10.4: main.cpp
Example 10.5: switch statement
Example 10.6: namespaces
Example 10.7: switch statement
Example 10.8: personstruct.h
Example 10.9: accessing struc telements
Example 10.10: accessing struct elements via pointers
Example 10.11: personfunctions.h
Example 10.12: personfunctions.cpp
Example 10.13: main.cpp
Example 10.14: personstruct.h
Example 10.15: personstruct.cpp
Example 10.16: main.cpp testing Person struct
Example 10.17: personclass.h
Example 10.18: personclass.cpp
Example 10.19: main.cpp testingPerson class
Chapter 11: Dissecting Classes
Example 11.1: parts of a typical class declaration
Example 11.2: testclass.h
Example 11.3: testclass.cpp
Example 11.4: main.cpp
Example 11.5: testclass.h
Example 11.6: testclass.cpp
Example 11.7: main.cpp
Example 11.8: testclass.h
Example 11.9: testclass.cpp
Example 11.10: main.cpp
Example 11.11: testclass.h
Example 11.12: testclass.cpp
Example 11.13: simpleclass.h
Example 11.14: simpleclass.cpp
Example 11.15: main.cpp
Example 11.16: foo.h
Example 11.17: foo.cpp
Example 11.18: main.cpp
Example 11.19: person.h
Example 11.20: main.cpp
Example 11.21: person.cpp
Chapter 12: Compositional Design
Example 12.1: a.h
Example 12.2: a.cpp
Example 12.3: b.h
Example 12.4: b.cpp
Example 12.5: main.cpp
Example 12.6: b.h
Example 12.7: b.cpp
Example 12.8: a.h
Example 12.9: a.cpp
Example 12.10: b.h
Example 12.11: b.cpp
Example 12.12: main.cpp
Example 12.13: aircraftutils.h
Example 12.14: fuelpump.h
Example 12.15: engine.h
Example 12.16: main.cpp
aircraftutils.h
fuelpump.h
oilpump.h
temperaturesensor.h
oxygensensor.h
compressor.h
engine.h
fuelpump.cpp
oilpump.cpp
temperaturesensor.cpp
oxygensensor.cpp
compressor.cpp
engine.cpp
main.cpp
Chapter 13: Extending Class Functionality Through Inheritance
Example 13.1: baseclass.h
Example 13.2: derivedclassone.h
Example 13.3: baseclass.cpp
Example 13.4: derivedclassone.cpp
Example 13.5: main.cpp
Example 13.6: person.h
Example 13.7: student.h
Example 13.8: student.cpp
Example 13.9: main.cpp
Example 13.10: foo.h
Example 13.11: derivedfoo.h
Example 13.12: foo.cpp
Example 13.13: derivedfoo.cpp
Example 13.14: main.cpp
Example 13.15: foo.h
Example 13.16: foo.h
Example 13.17: vessel.h
Example 13.18: plant.h
Example 13.19: weapon.h
Example 13.20: main.cpp
ciws.h
five_inch.h
torpedo.h
gasturbine_plant.h
nuke_plant.h
steam_plant.h
submarine.h
surface_ship.h
ciws.cpp
five_inch.cpp
gasturbine_plant.cpp
nuke_plant.cpp
steam_plant.cpp
submarine.cpp
surface_ship.cpp
torpedo.cpp
vessel.cpp
Example 13.21: payable.h
Example 13.22: employee.h
Example 13.23: employee.cpp
Example 13.24: hourlyemployee.h
Example 13.25: salariedemployee.h
Example 13.26: hourlyemployee.cpp
Example 13.27: salariedemployee.cpp
Example 13.28: main.cpp
Example 13.29: a.h
Example 13.30: b.h
Example 13.31: c.h
Example 13.32: d.h
Example 13.33: main.cpp
Example 13.34: b.h
Example 13.35: c.h
Chapter 14: Ad Hoc Polymorphism—Operator Overloading
Example 14.1: modified person.h
Example 14.2: overloaded stream
operator implementation
Example 14.3: main.cpp
Example 14.4: foo.h
Example 14.5: main.cpp
Example 14.6: overloaded assignment operator implementation
Example 14.7: person.h
Example 14.8: overloaded relational operator implementation
Example 14.9: main.cpp
Example 14.10: extended Person class
Example 14.11: equality operator implementation
Example 14.12: main.cpp
Example 14.13: foo.h
Example 14.14: foo.cpp
Example 14.15: main.cpp
Example 14.16: dynamicarray.h
Example 14.17: dynamicarray.cpp
Example 14.18: main.cpp
Example 14.19: foo.h
Example 14.20: foo.cpp
Example 14.21: main.cpp
Example 14.22: foo.h
Example 14.23: foo.cpp
Example 14.24: main.cpp
Example 14.25: foo.h
Example 14.26: foo.cpp
Example 14.27: main.cpp
Example 14.28: foo.h
Example 14.29: bar.h
Example 14.30: foo.cpp
Example 14.31: bar.cpp
Example 14.32: main.cpp
Chapter 15: Static Polymorphism—Templates
Example 15.1: sumtemplate.h
Example 15.2: main.cpp
Example 15.3: sumtemplate.h
Example 15.4: main.cpp
Example 15.5: main.cpp
Example 15.6: sumtemplate.h
Example 15.7: main.cpp
Example 15.8: foodef.h
Example 15.9: main.cpp
Example 15.10: dynamicarraydef.h
Example 15.11: main.cpp
Example 15.12: main.cpp
Example 15.13: main.cpp
Example 15.14: main.cpp
Example 15.15: main.cpp
Example 15.16: main.cpp
Chapter 16: Dynamic Polymorphism—Object-Oriented Programming
Example 16.1: interface.h
Example 16.2: derived_class_one.h
Example 16.3: derived_class_two.h
Example 16.4: main.cpp
icomponent.h
component.h
component.cpp
pump.h
pump.cpp
sensor.h
sensor.cpp
waterpump.h
waterpump.cpp
oilpump.h
oilpump.cpp
fuelpump.h
fuelpump.cpp
airflowsensor.h
airflowsensor.cpp
oxygensensor.h
oxygensensor.cpp
temperaturesensor.h
temperaturesensor.cpp
engine.h
engine.cpp
smallengine.h
smallengine.cpp
engineutils.h
main.cpp
Chapter 17: Well-Behaved Objects—The Orthodox Canonical Class Form
Example 17.1: foo.h
Example 17.2: foo.cpp
Example 17.3: main.cpp
Example 17.4: f.h
Example 17.5: f.cpp
Example 17.6: dumbsort.h (template version)
Example 17.7: foo.h (modified)
Example 17.8: foo.cpp (modified)
Example 17.9: main.cpp
Chapter 18: Mixed Language Programming
Example 18.1: square.h
Example 18.2: square.c
Example 18.3: main.cpp
Example 18.4: modified square.h
Example 18.5: double.h
Example 18.6: double.cpp
Example 18.7: double.asm
Example 18.8: main.cpp
Example 18.9: double.h
Example 18.10: double.cpp PowerPC Version
Example 18.11: SayHi.java
Example 18.12: SayHi.h
Example 18.13: sayhi.cpp
Chapter 19: Three Design Principles
Example 19.1: incrementer.h
Example 19.2: incrementer.cpp
Example 19.3: main.cpp
Example 19.4: main.cpp
Example 19.5: derived.h
Example 19.6: derived.cpp
Example 19.7: main.cpp
Example 19.8: derived.h (weakened precondition)
Example 19.9: derived.cpp (weakened precondition)
Example 19.10: main.cpp
Example 19.11: derived.h (strengthened precondition)
Example 19.12: derived.cpp (strengthened precondition)
Example 19.13: main.cpp
Example 19.14: main.cpp
Example 19.15: c.h
Chapter 20: Using A UML Modeling Tool
abstractposition.h
abstractmarker.h
abstractcontrolledobject.h
position.h
marker.h
remotecontrolledobject.h
abstractcontrolledrodent.h
robotrat.h
rodentworld.h
userinterface.h
controller.h
position.cpp
marker.cpp
remotecontrolledobject.cpp
robotrat.cpp
rodentworld.cpp
userinterface.cpp
controller.cpp
main.cpp
< Day Day Up >
Previous page
Table of content
C++ For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504028
EAN: 2147483647
Year: 2003
Pages: 340
Authors:
Rick Miller
BUY ON AMAZON
Database Modeling with MicrosoftВ® Visio for Enterprise Architects (The Morgan Kaufmann Series in Data Management Systems)
Introduction
ORM Constraints
Editing Logical Models”Advanced Aspects
Logical Database Model Reports
Other Features and Best Practices
Cisco IP Communications Express: CallManager Express with Cisco Unity Express
Using H.450.x Tandem IP-to-IP Gateway
Administrator Features
Summary
Managing Cisco IPC Express Systems by Managed Services and Enterprises
Step 2: Basic Router Setup
Snort Cookbook
Uninstalling Snort from Linux
Invisibly Tapping a Hub
Running Snort as a Linux Daemon
Excluding from Logging
Writing Output Plug-ins
Lean Six Sigma for Service : How to Use Lean Speed and Six Sigma Quality to Improve Services and Transactions
Phase 1 Readiness Assessment
Phase 2 Engagement (Creating Pull)
Phase 3 Mobilization
Service Process Challenges
Raising the Stakes in Service Process Improvement
The Oracle Hackers Handbook: Hacking and Defending Oracle
The Oracle Network Architecture
Attacking the Authentication Process
Defeating Virtual Private Databases
Attacking Oracle PL/SQL Web Applications
Accessing the Network
Understanding Digital Signal Processing (2nd Edition)
RADIX-2 FFT BUTTERFLY STRUCTURES
Chapter Six. Infinite Impulse Response Filters
BANDPASS QUADRATURE SIGNALS IN THE FREQUENCY DOMAIN
A PRACTICAL SPECTRUM ANALYZER
Section A.2. ARITHMETIC REPRESENTATION OF COMPLEX NUMBERS
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies