Apress - Learn to Tango with D (2008).pdf

(7257 KB) Pobierz
32015004 UNPDF
Available as a
PDF Electronic Book
or Print On Demand
Tango with D
CHAPTER 1 First Steps 1
CHAPTER 2 D Fundamentals 11
CHAPTER 3 D’s Object-Oriented Features 51
CHAPTER 4 Procedural Lifetime 81
CHAPTER 5 Templates 99
CHAPTER 6 Text Processing 117
CHAPTER 7 Input and Output 137
CHAPTER 8 The Other Packages 169
208
PAgeS
Kris Macleod Bell, Lars Ivar Igesund,
Sean Kelly, and Michael Parker
Learn to
32015004.024.png 32015004.025.png 32015004.026.png 32015004.027.png 32015004.001.png 32015004.002.png 32015004.003.png 32015004.004.png 32015004.005.png 32015004.006.png 32015004.007.png 32015004.008.png 32015004.009.png 32015004.010.png 32015004.011.png 32015004.012.png 32015004.013.png 32015004.014.png 32015004.015.png 32015004.016.png 32015004.017.png 32015004.018.png 32015004.019.png 32015004.020.png 32015004.021.png 32015004.022.png
 
Learn to Tango with D
KRIS MACLEOD BELL, LARS IVAR IGESUND,
SEAN KELLY, AND MICHAEL PARKER
32015004.023.png
Learn to Tango with D
Copyright © 2007 by Kris Macleod Bell, Lars Ivar Igesund, Sean Kelly, Michael Parker
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic
or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the
prior written permission of the copyright owner and the publisher.
ISBN-13 (pbk): 978-1-59059-960-0
ISBN-10 (pbk): 1-59059-960-8
eISBN-13: 978-1-4302-0585-2
Printed and bound in the United States of America (POD)
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trade-
marked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no
intention of infringement of the trademark.
Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc., in the United
States and other countries. Apress, Inc., is not affiliated with Sun Microsystems, Inc., and this book was written with-
out endorsement from Sun Microsystems, Inc.
Lead Editors: Jason Gilmore and Jeffrey Pepper
Technical Reviewers: Walter Bright and Don Clugston
Editorial Board: Steve Anglin, Ewan Buckingham, Tony Campbell, Gary Cornell, Jonathan Gennick, Jason Gilmore,
Kevin Goff, Jonathan Hassell, Matthew Moodie, Joseph Ottinger, Jeffrey Pepper, Ben Renow-Clarke, Dominic
Shakeshaft, Matt Wade, Tom Welsh
Project Manager: Beth Christmas
Copy Editor: Marilyn Smith
Associate Production Director: Kari Brooks-Copony
Compositor: Richard Ables
Cover Designer: Kurt Krames
Manufacturing Director: Tom Debolski
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York,
NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders-ny@springer-sbm.com , or visit
For information on translations, please contact Apress directly at 2855 Telegraph Avenue, Suite 600, Berkeley, CA
94705. Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com , or visit http://www.apress.com .
The information in this book is distributed on an “as is” basis, without warranty. Although every precaution has
been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or
entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information
contained in this work.
The source code for this book is available to readers at http://www.apress.com in the Source Code/
Download section.
 
To that mischievous wellspring of rollicking mirth known as Katrina Walker, to Cap'n Bob for
teaching me to sail, and to the highlander Dr Mairi Macleod for teaching me the things that matter.
––Kris Bell
For my father, who taught me how to work and the need to care.
––Lars Ivar Igesund
For Mi Kyoung.
––Michael Parker
 
Zgłoś jeśli naruszono regulamin