Programming Pearls Chapter 5 A Small Matter of Programming
2010-09-27 19:29
429 查看
/* Copyright (C) 1999 Lucent Technologies *//* From 'Programming Pearls' by Jon Bentley *//* http://www.cs.bell-labs.com/cm/cs/pearls/ *//* search.c -- test and time binary and sequential search Select one of three modes by editing main() below. 1.) Probe one function 2.) Test one function extensively 3.) Time all functions Input lines: algnum n numtests Output lines: algnum n numtests clicks nanosecs_per_elem See timedriver for algnum codes */#include 本文使用Blog_Backup未注册版本导出,请到soft.pt42.com注册。
相关文章推荐
- Developing Your First Smartphone Application(Chapter3 of Professional Microsoft Smartphone Programming)
- Images and Mouse Events(Chapter 18 of Cocoa Programming for Mac OS X)
- Chapter 13. Playing God: Basic Physics Modeling (Tricks.of.the.Windows.Game.Programming.Gurus,.Second.Edition)
- The Practice of Programming Chapter One - Style
- When Trouble Strikes(Chapter 14 of Programming Ruby)
- Pointers, Arrays, and Structures(Chapter 5 of The C++ Programming Language)
- Namespaces and Exceptions(Chapter 8 of The C++ Programming Language)
- Source Files and Programs(Chapter 9 of The C++ Programming Language)
- The study of chapter 13 in programming windows with mfc-printing with document and views
- Library Organization and Containers(Chapter 16 of The C++ Programming Language)
- Classes, Objects, and Methods(Chapter 3 of Programming in Objective-C 2.0)
- The Preprocessor(Chapter 12 of Programming in Objective-C 2.0)
- Numbers, Strings, and Collections(Chapter 15 of Programming in Objective-C 2.0)
- Let's Get Started(Chapter 2 of Cocoa Programming for Mac OS X)
- Objective-C(Chapter 3 of Cocoa Programming for Mac OS X)
- User Defaults(Chapter 13 of Cocoa Programming for Mac OS X)
- More About Methods(Chapter 8 of Programming Ruby)
- Python Design Patterns I(Chapter 8 of Python 3 Object Oriented Programming)
- Delegation and Core Location(Chapter 4 of iOS Programming: The Big Nerd Ranch Guide)
- Web Service(Chapter 28 of Cocoa Programming for Mac OS X)