Showing posts with label With. Show all posts
Showing posts with label With. Show all posts

Thursday, 3 February 2011

Starting Out with C++: Early Objects (6th Edition)

Starting Out with C++: Early Objects (6th Edition)
Starting Out with C++: Early Objects (6th Edition)

  • Paperback: 1152 pages
  • Publisher: Addison Wesley; 6 edition (August 9, 2007)
  • Language: English
  • ISBN-10: 0321512383
  • ISBN-13: 978-0321512383
  • Product Dimensions: 10.1 x 7.9 x 1.4 inches


Starting Out with C++: Early Objects (6th Edition)
Starting Out with C++: Early Objects (6th Edition)


Product Description
In Starting Out with C++: Early Objects, Gaddis covers objects and classes early after functions and before arrays and pointers. As with all Gaddis texts, clear and easy-to-read code listings, concise and practical real-world examples, and an abundance of exercises appear in every chapter.

Introduction to Computers and Programming; Introduction to C++; Expressions and Interactivity; Making Decisions; Looping; Functions; Introduction to Classes and Objects; Arrays; Searching and Sorting Arrays; Pointers; More About Classes and Object-Oriented Programming; More About Characters, Strings, and the string Class; Advanced File and I/O Operations; Recursion; Polymorphism, Virtual Functions, and Multiple Inheritance; Exceptions, Templates, and the Standard Template Library (STL); Linked Lists; Stacks and Queues; Binary Trees.

This text is intended for either a one-semester accelerated introductory course or a traditional two-semester sequence covering C++ programming.

From the Back Cover

Gaddis Books—Understanding from the Start!
Tony Gaddis's best-selling Starting Out With... series provides accessible, detailed presentations of programming concepts using an approach that will increase the confidence and competence of beginning programmers.
The Starting Out With... series includes textbooks that meet most course and teaching styles.
Starting Out with C++: Early Objects, 7th Edition ©2011

ISBN-13: 978-0-13-607774-9
ISBN-10: 0-13--607774-9

This book is ideal for a multi-term Introduction to Programming course or an accelerated one-semester course that introduces object-oriented programming early.

HIGHLIGHTS:
  • Introduces object early— students learn to write classes and create objects in Chapter 7 before covering arrays and pointers.
  • Covers both procedural and object-oriented programming.
  • NEW! The VideoNotes integrated with this text help augment students' understanding of difficult topics by stepping through programming examples and problem solutions. Icons throughout the text— and a table inside the front cover— show which topics are expanded in a VideoNote. VideoNotes are available on this book's Companion Website at www.pearsonhighered.com/gaddis.


Starting Out with C++: Brief Version 6th Edition ©2010
ISBN-13: 978-0-13--602253-4
ISBN-10: 0-13-602253-7

This book fits a one-semester Introduction to Programming course that introduces procedural programming before objects.

HIGHLIGHTS:
  • Covers procedural programming—control structures, functions, and pointers—before presenting objects.
  • Introduces objects late— students learn to write classes in Chapter 13.

    Starting Out with Games and Graphics in C++ 1st Edition ©2010
    ISBN-13: 978-1-321-51291-8
    ISBN-10: 0-321-51291-X

    This book employs graphical examples and simple, complete video games to teach introductory programming skills and C++.

    HIGHLIGHTS:
    • Uses a late-objects approach, ensuring that students grasp programming fundamentals before moving on to more powerful object-oriented concepts.
    • Incorporates graphics, animation, audio, and game programming to motivate students.


    Starting Out with C++: From Control Structures through Objects 6th Edition ©2009
    ISBN-13: 978-0-321-54588-6
    ISBN-10: 0-321-54588-5

    This book is perfect for a multi-term Introduction to Programming course that includes coverage of data structures.

    HIGHLIGHTS:
    • Covers procedural programming—control structures, functions, and pointers— before presenting objects.
    • Includes four chapters covering data structures topics—linked lists, stacks and queues, recursion, and binary trees.,/li>
    • VideoNotes step students through programming examples and problem solutions. read more...

Saturday, 29 January 2011

Learning C Programming With C++

Learning C Programming With C++
An Introduction to Programming With C++

Sample Chapter From An Introduction to C++ Programming
     Copyright © Björn Fahller

Introduction

An Introduction to Programming With C++C++ is a programming language substantially different from C. Many see C++ as "a better C than C," or as C with some add-ons. I believe that to be wrong, and I intend to teach C++ in a way that makes use of what the language can offer. C++ shares the same low level constructs as C, however, and I will assume some knowledge of C in this course. You might want to have a look at the C introduction course to get up to speed on that language.

Basic I/O

All intro courses in programming begin with a "Hello World" program [except those that don't -- Ed], and so does this one.

  #include <iostream.h>

  int main(void)
  {
    cout << "Hello EDM/2" << endl;
    return 0;
  }
Line 1 includes the header <iostream.h>, which is needed for the input/output operations. In C++ writing something on standard output is done by:

  cout << whatever;
Here "whatever" can be anything that is printable; a string literal as "Hello EDM/2", a variable, an expression. If you want to print several things, you can do so at the same time with:

  cout << expr1 << expr2 << expr3 << ...;
Again, expr1, expr2 and expr3 represents things that are printable. In the "Hello EDM/2" program above, the last expression printed is "endl" which is a special expression (called a manipulator. Manipulators, and details about I/O, will be covered in a complete part sometime this fall) which moves the cursor to the next line. It's legal to cascade more expressions to print after "endl," and doing so means those values will be printed on the next line.
read more...
An Introduction to Programming With C++