Problem solving, abstraction, and design using C++

書誌事項

Problem solving, abstraction, and design using C++

Frank L. Friedman, Elliot B. Koffman

Addison-Wesley, c1994

大学図書館所蔵 件 / 2

この図書・雑誌をさがす

注記

Includes index

内容説明・目次

内容説明

Using C+ + to teach introductory programming material this text presents the flavour of C + + for the purpose of learning CS I concepts only. It only uses the features of C+ + which are appropriate thus eliminating the more difficult aspects of the language. This book gives an introduction to object-oriented concepts and further develops them in succeeding chapters. The text contains the classic proven pedagogy and focuses on the problem solving/software construction process that is present in all Koffman books.

目次

  • Introduction to computers and programming - a brief history of electronic computers, components of a computer, problem solving, abstraction, and program engineering, the software development method, programming languages, processing a high level language program, using the computer
  • problem solving and C++ - applying the software development method, overview of C++, declarations of variables and constants, executable statements, recapitulation - the general form of C++ programs, abstraction - data types and expressions, interactive mode, batch mode, and data files
  • top-down design with C++ functions - data analysis, top-down design, and program development, extending a problem solution, subproblems and independent modules, functions without arguments, functions with input arguments and return values, how we use functions, functions as program building blocks - C++ libraries
  • selection structures - if and switch - control structures, logical expressions, introduction to the if control statement, if statements with compound alternatives, decision steps in algorithms, checking correctness of an algorithm, more problem solving strategies, nested if statements and multiple alternative decisions, the switch control statement
  • repetition - the While and For constructs - repetition in programs - the While statement, accumulating a Sum and Product, counting loops and conditional loops, loop design, the For statement, the general For loop, the Do-while loop, review of the While, Do-while, and For loops, nested loops, debugging and testing programs
  • modular programming - functions in the design process, using function return values for decision and loop control, output arguments, syntax rules for functions with argument lists, stepwise design with functions, case study - checking account balance problem, more aspects of software engineering, debugging and testing a program system
  • simple data types - constants revisited, internal representations of Int, Float, and Char types, logical expressions revisited, character variables and functions, enumerated types, iterative approximations
  • formatting and files - text files, formatted output using printf, formatted input with scanf, review of batch processing, accessing and using external files, case study - preparing a payroll file, putting it all together, input/output to external files using stream I/O, formatting output streams using manipulators
  • arrays and structures - the array data type, selecting array elements for processing, arrays as operands and arguments, reading part of an array, searching and sorting arrays, analysis of algorithms - Big-O notation, the struct data type, structs as operands and arguments, hierarchical structs, unions. (Part contents).

「Nielsen BookData」 より

詳細情報

  • NII書誌ID(NCID)
    BA26011924
  • ISBN
    • 0201526492
  • LCCN
    93014288
  • 出版国コード
    us
  • タイトル言語コード
    eng
  • 本文言語コード
    eng
  • 出版地
    Reading, Mass.
  • ページ数/冊数
    xvi, 888, [56] p.
  • 大きさ
    23 cm
  • 分類
  • 件名
ページトップへ