Robert Lafore先生從1982年就開始編寫計(jì)算機(jī)編程方面的書。他的暢銷書有《Object-Oriented Programming in C++》此書在世界上的銷量已經(jīng)超過200000冊,其他還有《Assembly Language for the IBM PC》、《C Programming in Turbo C++》和《C++ Interactive Course》、Lafore先生擁有數(shù)學(xué)和電子工程的學(xué)位,他從PDP-5時(shí)代就開始活躍在編程領(lǐng)域了,那時(shí)能用上一塊4K的主存都是難得的。
圖書目錄
Introduction What’S New in the Second Edition Additional Topics End-of-Chapter Questions Experiments Programming Projects What This Book Is About What’S Different About This Book Easy tO Understand Workshop Applets Java Example Code Who This BookIs For What YoU Need to Know Before You Read This Book The Software You Need to Use This Book How This Book Is Organized Enjoy Yourself! 1 Overvlew What Are Data Structures and Algorithms Good For? Real-World Data Storage Programmer’S Tools Real-World Modeling Overview of Data Structures Overview of Algorithms Some Definitions Database Record Field Key Object-Oriented Programming Problems with Procedural Languages Objects in a Nutshell A Runnable Object-Oriented Program Inheritance and Polymorphism Software Engineering Java for C++Programmers No Pointers Overloaded Operators Primitive Variable Types Input/Output Java Library Data Structures Summary Questions 2 Arrays The Array Workshop Applet Insertion Searching Deletion The Duplicates Issue NOtTbo Swift The Basics of Arrays in Iava Creating an Array Accessing Array Elements InitializatiOn An Array Example Dividing a Program into Classes Classes LowArray and LowArrayApp Class Interfaces NOt SO Convenient Who’s Responsible for What? The highArray.j ava Example The User’s Life Made Easier Abstraction The Ordered Workshop Applet Linear Search Binary Search Java Code for an Ordered Array Binary Search with the find()Method The OrdArray Class Advantages of Ordered Arrays Logarithms The Equation The Opposite of Raising Two to a Power …… 3 Simple Sorting 4 Stacks and Queues 5 Linked Lists 6 Recursion 7 Advanced Sorting 8 Binary Trees 9 Red-Black Trees 10 2-3-4 Trees and External Storage 11 Hash Tables 12 Heaps 13 Graphs 14 Weighted Graphs 15 When to Use What Appendixes A Running the Workshop Applets and Example Programs B Further Reading C Answers to Questions