My library button
  • Book cover of Code

    The classic guide to how computers work, updated with new chapters and interactive graphics "For me, Code was a revelation. It was the first book about programming that spoke to me. It started with a story, and it built up, layer by layer, analogy by analogy, until I understood not just the Code, but the System. Code is a book that is as much about Systems Thinking and abstractions as it is about code and programming. Code teaches us how many unseen layers there are between the computer systems that we as users look at every day and the magical silicon rocks that we infused with lightning and taught to think." - Scott Hanselman, Partner Program Director, Microsoft, and host of Hanselminutes Computers are everywhere, most obviously in our laptops and smartphones, but also our cars, televisions, microwave ovens, alarm clocks, robot vacuum cleaners, and other smart appliances. Have you ever wondered what goes on inside these devices to make our lives easier but occasionally more infuriating? For more than 20 years, readers have delighted in Charles Petzold's illuminating story of the secret inner life of computers, and now he has revised it for this new age of computing. Cleverly illustrated and easy to understand, this is the book that cracks the mystery. You'll discover what flashlights, black cats, seesaws, and the ride of Paul Revere can teach you about computing, and how human ingenuity and our compulsion to communicate have shaped every electronic device we use. This new expanded edition explores more deeply the bit-by-bit and gate-by-gate construction of the heart of every smart device, the central processing unit that combines the simplest of basic operations to perform the most complex of feats. Petzold's companion website, CodeHiddenLanguage.com, uses animated graphics of key circuits in the book to make computers even easier to comprehend. In addition to substantially revised and updated content, new chapters include: Chapter 18: Let's Build a Clock! Chapter 21: The Arithmetic Logic Unit Chapter 22: Registers and Busses Chapter 23: CPU Control Signals Chapter 24: Jumps, Loops, and Calls Chapter 28: The World Brain From the simple ticking of clocks to the worldwide hum of the internet, Code reveals the essence of the digital revolution.

  • Book cover of Code

    From the dots and dashes of Morse code to the 0s and 1s of computer programming, "Code" describes the ingenious ways humans have adapted language systems--code--to invent the machinery of the modern age. Petzold uses everyday household objects and readily recognizable codes such as Braille and Morse to build a context for understanding how computers work.

  • Book cover of Programming Windows

    Reimagined for full-screen and touch-optimized apps, Windows 8 provides a platform for reaching new users in new ways. In response, programming legend Charles Petzold is rewriting his classic Programming Windows—one of the most popular programming books of all time—to show developers how to use existing skills and tools to build Windows 8 apps. Programming Windows, Sixth Edition focuses on creating Windows 8 apps accessing the Windows Runtime with XAML and C#. The book also provides C++ code samples. The Sixth Edition is organized in two parts: Part I, “Elementals,” begins with the interrelationship between code and XAML, basic event handling, dynamic layout, controls, templates, asynchronous processing, the application bar, control customization, and collections. You should emerge from Part I ready to create sophisticated page-oriented collection-based user interfaces using the powerful ListView and GridView controls. Part II, “Specialties,” explores topics you might not need for every program but are essential to a well-rounded education in Windows 8. These include multitouch, bitmap graphics, interfacing with share and search facilities, printing, working with the sensors (GPS and orientation), text, obtaining input from the stylus (including handwriting recognition), accessing web services, calling Win32 and DirectX functions, and bringing your application to the Windows 8 app store.

  • Book cover of Programming Microsoft Windows with C#

    “Look it up in Petzold” remains the last word on Windows development. In this .NET-ready Windows programming guide, the best-selling author shows you how to get the most out of Windows Forms—the next-generation Windows programming class library. You’ll discover how to use C# to create dynamic user interfaces and graphical outputs for Windows applications. With dozens of examples of client applications to illustrate common techniques and plenty of no-nonsense advice on best programming practices, you’ll be C# sharp in no time. Topics covered in this guide include: A tour of C# Windows Forms Essential structures An exercise in text output Lines, curves, and area fills Tapping into the keyboard Pages and transforms Taming the mouse Text and fonts The timer and time Images and bitmaps Buttons, labels, and scrolls Béziers and other splines Menus Paths, regions, and clipping Dialog boxes Brushes and pens Edit, list, and spin controls Font fun Toolbars and status bars Printing Tree view and List view Metafiles Clip, drag, and drop INCLUDED ON CD-ROM: * Sample source code for all the examples presented in the book A Note Regarding the CD or DVD The print version of this book ships with a CD or DVD. For those customers purchasing one of the digital formats in which this book is available, we are pleased to offer the CD/DVD content as a free download via O'Reilly Media's Digital Distribution services. To download this content, please visit O'Reilly's web site, search for the title of this book to find its catalog page, and click on the link below the cover image (Examples, Companion Content, or Practice Files). Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to booktech@oreilly.com.

  • Book cover of Programming Windows 3.1

    This definitive guide has now been updated to cover the significant enchancements of Windows 3.1, including the new Dynamic Data Exchange (DDE) protocol, the printing and TrueType font application programming interface (API), and more. Packed with straightforward explanations, keen insights, tried and tested programming techniques, and scores of sample programs written in C.

  • Book cover of Applications

    "Learn how to create next-generation client interfaces with Windows legend Charles Petzold. Get the definitive guide to the Windows Presentation Foundation (WPF), the new client programming interface for the Microsoft .NET Framework 3.0 and Windows Vista. Award-winning author Charles Petzold teaches you how to combine C♯ code and the Extensible Application Markup Language (XAML) to develop applications for the WPF. You'll get expert guidance and hundreds of practical, hands-on examples--giving you the skills you need to exploit the new interface and graphics capabilities for Windows Vista."--Publisher's website.

  • Book cover of Programming Windows
  • No image available

    The classic guide to how computers work, updated with new chapters and interactive graphics. Computers are everywhere-most obviously in our laptops and smartphones, but also our cars, televisions, microwave ovens, alarm clocks, robot vacuum cleaners, and other smart appliances. Have you ever wondered what goes on inside these devices to make our lives easier but occasionally more infuriating? For more than 20 years, readers have delighted in Charles Petzold's illuminating story of the secret inner life of computers, and now he has revised it for this new age of computing. Cleverly illustrated and easy to understand, this is the book that cracks the mystery. You'll discover what flashlights, black cats, seesaws, and the ride of Paul Revere can teach you about computing-and how human ingenuity and our compulsion to communicate have shaped every electronic device we use. This new expanded edition explores more deeply the bit-by-bit, gate-by-gate construction of the heart of every smart device-the central processing unit that combines the simplest of basic operations to perform the most complex of feats. Along with new chapters, Petzold created a new website, CodeHiddenLanguage.com, that uses animated interactive graphics to make computers even easier to comprehend. From the simple ticking of clocks to the worldwide hum of the internet, Code reveals the essence of the digital revolution.

  • Book cover of Programming Windows 95

    This is the best-known, most widely praised, and most widely used how-to programming book on the planet. It is the one book that no aspiring or experienced developer can afford to be without. Updated for Windows 95, this bestseller is now a 32-bit book with 32-bit programs neatly tucked into a CD. Charles Petzold covers the new Windows 95 concerns such as multithreading, GDI and OLE enhancements, and preemptive multitasking. A guaranteed bestseller. (Operating Systems)

  • Book cover of Creating Mobile Apps with Xamarin.Forms, Preview Edition

    Written by programming legend Charles Petzold and created jointly by Microsoft Press and Xamarin Inc., this Preview Edition ebook is about writing applications for Xamarin.Forms, the new mobile development platform for iOS, Android, and Windows Phone unveiled by Xamarin in May 2014. Xamarin.Forms lets you write shared user-interface code in C# and XAML (the eXtensible Application Markup Language) that maps to native controls on these three platforms. (The final edition of this ebook will be published in the spring of 2015.) This ebook is for C# programmers who want to write applications for the three most popular mobile platforms—iOS, Android, and Windows Phone—with a single code base. Xamarin.Forms also has applicability for those programmers who want eventually to use C# and the Xamarin.iOS and Xamarin.Android libraries to target the native application programming interfaces (APIs) of these platforms. Xamarin.Forms can be a big help in getting started with these platforms or in constructing a prototype or proof-of-concept application. This ebook assumes that you know C# and have some familiarity with the use of the .NET Framework. However, when it describes some C# and .NET features that might be somewhat new to recent C# programmers, the ebook adopts a somewhat slower pace. In particular, the introduction of the async keyword and await operator in Chapter 3 follows a discussion that shows how to do asynchronous programming using traditional callback methods.