Programming in C


Author: Stephen G. Kochan

Publisher: Sams Publishing

ISBN: 0672331411

Category: Computers

Page: 576

View: 400

Learn the C programming language from one of the best. Stephen Kochan's Programming in C is thorough with easy-to-follow instructions that are sure to benefit beginning programmers. This book provides readers with practical examples of how the C programming language can be used with small, fast programs, similar to the programming used by large game developers such as Nintendo. If you want a one-stop-source for C programming, this book is it.The book is appropriate for all introductory-to-intermediate courses on programming in the C language, including courses covering C programming for games and small-device platforms. Programming in C, Third Edition is a thoroughly revised and updated edition of Steven Kochan's classic C programming tutorial: a book that has helped thousands of students master C over the past twenty years. This edition fully reflects the latest C standard and contains current source code. It has been crafted to help students master C regardless of the platform they intend to use or the applications they intend to create -- including small-device and gaming applications, where C's elegance and speed make it especially valuable. Kochan begins with the fundamentals, then covers every facet of C language programming: variables, data types, arithmetic expressions, program looping, making decisions, arrays, functions, structures, character strings, pointers, operations on bits, the preprocessors, I/O, and more. Coverage also includes chapters on working with larger programs; debugging programs; and the fundamentals of object-oriented programming. Appendices include a complete language summary, an introduction to the Standard C Library, coverage of compiling and running programs using gcc, common programming mistakes, and more.

Entwicklung mobiler Apps

Konzepte, Anwendungsbausteine und Werkzeuge im Business und E-Health


Author: Marc Schickler,Manfred Reichert,Rüdiger Pryss,Johannes Schobel,Winfried Schlee,Berthold Langguth

Publisher: Springer-Verlag

ISBN: 3642330576

Category: Computers

Page: 160

View: 5911

Anhand einer verständlichen und ansprechenden Anwendung aus dem Bereich der Tinnitusforschung werden wiederkehrende Problemstellungen und Muster im Bereich mobiler App-Entwicklung analysiert und diskutiert. Dazu erläutern die Autoren die Programmierkonzepte, Techniken, Frameworks und Mechanismen, welche für die Umsetzung dieser Musteranwendung relevant sind. Der Leser soll weitreichende Einblicke und Analysemethoden an die Hand bekommen, um Projekte zur Entwicklung mobiler Apps besser und effektiver durchführen zu können. Das Buch dient somit als wichtige Entscheidungshilfe für die Realisierung mobiler Anwendungen, die entweder eigenständig oder in Verbindung mit Fremdsystemen entwickelt werden müssen und die zudem aktuelle Techniken verwenden sollen. Dazu wird die Anwendung beispielhaft mit einem mobilen Framework entwickelt. Weitere Frameworks werden mitdiskutiert. So entsteht Schritt für Schritt die Anwendung und die einzelnen architektonischen Bausteine werden eingeführt und didaktisch aufbereitet. Ergänzend wird auf spezielle Paradigmen eingegangen, die den Frameworks zugrunde liegen.

Mobile Technologies for Every Library


Author: Ann Whitney Gleason

Publisher: Rowman & Littlefield

ISBN: 1442248939

Category: Language Arts & Disciplines

Page: 138

View: 3848

If you are wondering what mobile technology adoption means for your library or how to get started, Mobile Technologies for Every Library will answer your questions! This book will detail the opportunities and pitfalls in using mobile technology in libraries.

Generic and Indexed Programming


Author: Jeremy Gibbons

Publisher: Springer

ISBN: 3642322026

Category: Computers

Page: 259

View: 3694

Generic programming is about making programs more widely applicable via exotic kinds of parametrization---not just along the dimensions of values or of types, but also of things such as the shape of data, algebraic structures, strategies, computational paradigms, and so on. Indexed programming is a lightweight form of dependently typed programming, constraining flexibility by allowing one to state and check relationships between parameters: that the shapes of two arguments agree, that an encoded value matches some type, that values transmitted along a channel conform to the stated protocol, and so on. The two forces of genericity and indexing balance each other nicely, simultaneously promoting and controlling generality. The 5 lectures included in this book stem from the Spring School on Generic and Indexed Programming, held in Oxford, UK, in March 2010 as a closing activity of the generic and indexed programming project at Oxford which took place in the years 2006-2010.

Learn Objective-C for Java Developers


Author: James Bucanek

Publisher: Apress

ISBN: 1430223693

Category: Computers

Page: 520

View: 3634

Learn Objective-C for Java Developers will guide experienced Java developers into the world of Objective-C. It will show them how to take their existing language knowledge and design patterns and transfer that experience to Objective-C and the Cocoa runtime library. This is the express train to productivity for every Java developer who has dreamed of developing for Mac OS X or iPhone, but felt that Objective-C was too intimidating. So hop on and enjoy the ride! Provides a translation service that turns Java problem-solving skills into Objective-C solutions Allows Java developers to leverage their existing experience and quickly launch themselves into a new domain Takes the risk out of learning Objective-C What you’ll learn Apply Java experience to Objective-C and Cocoa Use elegant alternatives that increase productivity Maximize the powerfully unique constructs of Objective-C, like class clusters Think like an object-oriented C programmer to create more reusable code Use all of the things in Java and Objective-C that are actually quite similar, like MVC design patterns Learn how to do all of it within Apple's powerful Xcode programming environment using Cocoa frameworks Who this book is for Experienced Java developers interested in developing native applications for Apple's Mac OS X operating system, iPhone, and iPod touch. Table of Contents Introduction Java and C: Key Differences Welcome to Objective-C Creating an Xcode Project Exploring Protocols and Categories Sending Messages Making Friends with nil Strings and Primitive Values Garbage Collection Introspection Files Serialization Communicating Near and Far Exception Handling Threads Collection Patterns Delegation Pattern Provider/Subscriber Pattern Observer Pattern Model-View-Controller Pattern Lazy Initialization Pattern Factory Pattern Singleton Pattern Memory Management Mixing C and Objective-C Runtime

Wireless Game Development in C/C++ with BREW


Author: Ralph Barbagallo

Publisher: Wordware Publishing, Inc.

ISBN: 1556229054

Category: Computers

Page: 387

View: 1768

Designed for game programmers interested in developing mobile phone applications, Wireless Game Development in C/C++ with BREWTM uses QUALCOMM®’s BREW development environment to illustrate a variety of techniques in the field of wireless phone games. From the basics of the BREW SDKTM and bitmap graphics to wireless networking and applet distribution, this book takes you through the fundamentals of the API, including graphics, sound, and input, and brings it all together with a complete example of a working game. Capitalize on the popularity of programmable mobile phones by developing your own game. Explore how to use the BREW SDKTM to apply existing game development techniques to mobile gaming. Discover how to incorporate text, menus, and dialogs into a graphical user interface. Understand the process for having your application receive the TRUE BREWTM designation. Learn various techniques for optimizing your code.

C++ Windows Programming


Author: Stefan Bjornander

Publisher: Packt Publishing Ltd

ISBN: 1786468247

Category: Computers

Page: 588

View: 5576

Develop real-world applications in Windows About This Book Create diverse applications featuring the versatility of Small Windows C++ library Learn about object-oriented programming in Windows and how to develop a large object-oriented class library in C++ Understand how to tackle application-specific problems along with acquiring a deep understanding of the workings of Windows architecture Who This Book Is For This book is for application developers who want a head-first approach into Windows programming. It will teach you how to develop an object-oriented class library in C++ and enhanced applications in Windows. Basic knowledge of C++ and the object-oriented framework is assumed to get the most out of this book. What You Will Learn Develop advanced real-world applications in Windows Design and implement a graphical object-oriented class library in C++ Get to grips with the workings of the integral aspects of the Win32 API, such as mouse input, drawing, cut-and-paste, file handling, and drop files Identify general problems when developing graphical applications as well as specific problems regarding drawing, spreadsheet, and word processing applications Implement classes, functions, and macros of the object-oriented class library developed in the book and how we implement its functionality by calling functions and macros in the Win32 API In Detail It is critical that modern developers have the right tools to build practical, user-friendly, and efficient applications in order to compete in today's market. Through hands-on guidance, this book illustrates and demonstrates C++ best practices and the Small Windows object-oriented class library to ease your development of interactive Windows applications. Begin with a focus on high level application development using Small Windows. Learn how to build four real-world applications which focus on the general problems faced when developing graphical applications. Get essential troubleshooting guidance on drawing, spreadsheet, and word processing applications. Finally finish up with a deep dive into the workings of the Small Windows class library, which will give you all the insights you need to build your own object-oriented class library in C++. Style and approach This book takes a tutorial-style approach that will demonstrate the features of a C++ object-oriented library by developing interactive Windows applications.

Using Multi-C

a portable multithreaded C programming library


Author: Mix Software, Inc

Publisher: Prentice Hall


Category: Computers

Page: 257

View: 9534

This guide serves as a tutorial on multithreaded programming and Multi-C. Written by its developers, the book examines such topics as concurrent threads, CPU scheduling, resource management, and multithreaded design issues. The enclosed disk contains the actual Multi-C library.

Learning C++ Functional Programming


Author: Wisnu Anggoro

Publisher: Packt Publishing Ltd

ISBN: 1787280586

Category: Computers

Page: 304

View: 4636

Apply Functional Programming techniques to C++ to build highly modular, testable, and reusable code About This Book Modularize your applications and make them highly reusable and testable Get familiar with complex concepts such as metaprogramming, concurrency, and immutability A highly practical guide to building functional code in C++ filled with lots of examples and real-world use cases Who This Book Is For This book is for C++ developers comfortable with OOP who are interested in learning how to apply the functional paradigm to create robust and testable apps. What You Will Learn Get to know the difference between imperative and functional approaches See the use of first-class functions and pure functions in a functional style Discover various techniques to apply immutable state to avoid side effects Design a recursive algorithm effectively Create faster programs using lazy evaluation Structure code using design patterns to make the design process easier Use concurrency techniques to develop responsive software Learn how to use the C++ Standard Template Library and metaprogramming in a functional way to improve code optimization In Detail Functional programming allows developers to divide programs into smaller, reusable components that ease the creation, testing, and maintenance of software as a whole. Combined with the power of C++, you can develop robust and scalable applications that fulfill modern day software requirements. This book will help you discover all the C++ 17 features that can be applied to build software in a functional way. The book is divided into three modules—the first introduces the fundamentals of functional programming and how it is supported by modern C++. The second module explains how to efficiently implement C++ features such as pure functions and immutable states to build robust applications. The last module describes how to achieve concurrency and apply design patterns to enhance your application's performance. Here, you will also learn to optimize code using metaprogramming in a functional way. By the end of the book, you will be familiar with the functional approach of programming and will be able to use these techniques on a daily basis. Style and approach This book uses a module-based approach, where each module will cover important aspects of functional programming in C++ and will help you develop efficient and robust applications through gaining a practical understanding.

Programming in Objective-C


Author: Stephen G. Kochan

Publisher: Addison-Wesley Professional

ISBN: 9780321712158

Category: Computers

Page: 704

View: 1467

Programming in Objective-C is a concise, carefully written tutorial on the basics of Objective-C and object-oriented programming for the iOS and Mac platforms. The book makes no assumptions about prior experience with object-oriented programming languages or with the C language (which Objective-C is based upon). Because of this, both beginners and experienced programmers alike can use this book to quickly and effectively learn the fundamentals of Objective-C. Readers can also learn the concepts of object-oriented programming without having to first learn all of the intricacies of the underlying procedural language (C). This unique approach to learning, combined with many small program examples and exercises at the end of each chapter, makes Programming in Objective-C ideally suited for either classroom use or self-study. While the Objective-C language itself has gone through relatively minor changes since the introduction of Objective-C 2.0, the Apple development tools that programmers use for Objective-C development on the Mac and on iOS have changed significantly in a very short period of time. The third edition of Programming in Objective-C includes numerous updates and improvements throughout the book: Improved organization for some chapters Incorporation of feedback and suggestions from members of the author's forum for readers, including more detailed descriptions for some of the examples A new introduction to blocks with examples Replacement of deprecated methods with newer methods Updated diagrams and steps for using Xcode 4

packetC Programming


Author: Peder Jungck,CloudShield Technologies Inc An SAIC Company,Ralph Duncan,Dwight Mulcahy

Publisher: Apress

ISBN: 1430241594

Category: Computers

Page: 464

View: 6978

This book introduces the tools you'll need to program with the packetC language. packetC speeds the development of applications that live within computer networks, the kind of programs that provide network functionality for connecting "clients" and "servers” and “clouds." The simplest examples provide packet switching and routing while more complex examples implement cyber security, broadband policies or cloud-based network infrastructure. Network applications, such as those processing digital voice and video, must be highly scalable, secure and maintainable. Such application requirements translate to requirements for a network programming language that leverages massively-parallel systems and ensures a high level of security, while representing networking protocols and transactions in the simplest way possible. packetC meets these requirements with an intuitive approach to coarse-grained parallelism, with strong-typing and controlled memory access for security and with new data types and operators that express the classic operations of the network-oriented world in familiar programming terms. No other language has addressed the full breadth of requirements for tractable parallelism, secure processing and usable constructs. The packetC language is growing in adoption and has been used to develop solutions operating in some of the world’s largest networks. This important new language, packetC, has now been successfully documented in this book, in which the language's authors provide the materials and tools you'll need in a readable and accessible form.

Programming in Objective-C 2.0


Author: Stephen G. Kochan

Publisher: Pearson Education

ISBN: 9780321605542

Category: Computers

Page: 624

View: 4025

THE #1 BESTSELLING BOOK ON OBJECTIVE-C 2.0 Programming in Objective-C 2.0 provides the new programmer a complete, step-by-step introduction to Objective-C, the primary language used to develop applications for the iPhone, iPad, and Mac OS X platforms. The book does not assume previous experience with either C or object-oriented programming languages, and it includes many detailed, practical examples of how to put Objective-C to use in your everyday iPhone/iPad or Mac OS X programming tasks. A powerful yet simple object-oriented programming language that’s based on the C programming language, Objective-C is widely available not only on OS X and the iPhone/iPad platform but across many operating systems that support the gcc compiler, including Linux, Unix, and Windows systems. The second edition of this book thoroughly covers the latest version of the language, Objective-C 2.0. And it shows not only how to take advantage of the Foundation framework’s rich built-in library of classes but also how to use the iPhone SDK to develop programs designed for the iPhone/iPad platform. Table of Contents 1 Introduction Part I: The Objective-C 2.0 Language 2 Programming in Objective-C 3 Classes, Objects, and Methods 4 Data Types and Expressions 5 Program Looping 6 Making Decisions 7 More on Classes 8 Inheritance 9 Polymorphism, Dynamic Typing, and Dynamic Binding 10 More on Variables and Data Types 11 Categories and Protocols 12 The Preprocessor 13 Underlying C Language Features Part II: The Foundation Framework 14 Introduction to the Foundation Framework 15 Numbers, Strings, and Collections 16 Working with Files 17 Memory Management 18 Copying Objects 19 Archiving Part III: Cocoa and the iPhone SDK 20 Introduction to Cocoa 21 Writing iPhone Applications Part IV: Appendixes A Glossary B Objective-C 2.0 Language Summary C Address Book Source Code D Resources

Professional Multicore Programming

Design and Implementation for C++ Developers


Author: Cameron Hughes,Tracey Hughes

Publisher: John Wiley & Sons

ISBN: 0470443405

Category: Computers

Page: 648

View: 6429

Professional Multicore Programming: Design and Implementation for C++ Developers presents the basics of multicore programming in a simple, easy-to-understand manner so that you can easily apply the concepts to your everyday projects. Learn the fundamentals of programming for multiprocessor and multithreaded architecture, progress to multi-core programming and eventually become comfortable with programming techniques that otherwise can be difficult to understand. Anticipate the pitfalls and traps of concurrency programming and synchronization before you encounter them yourself by finding them outlined in this indispensable guide to multicore programming.

Programming in the .NET Environment


Author: Damien Watkins,Mark J. Hammond,Brad Abrams

Publisher: Addison-Wesley Professional

ISBN: 9780201770186

Category: Computers

Page: 523

View: 3818

Demonstrates how to create generic frameworks, libraries, classes, and tools that can be used in the .NET environment and provides instructions on how to select the right language to develop parts of a system and how to integrate them at runtime.

Microsoft .NET

Kick Start


Author: Hitesh Seth

Publisher: Sams Publishing

ISBN: 9780672325748

Category: Computers

Page: 484

View: 1528

Explains the components, development tools, and programming model of the Microsoft .NET platform.

Practical C++ Financial Programming


Author: Carlos Oliveira

Publisher: Apress

ISBN: 143026716X

Category: Computers

Page: 396

View: 7987

Practical C++ Financial Programming is a hands-on book for programmers wanting to apply C++ to programming problems in the financial industry. The book explains those aspects of the language that are more frequently used in writing financial software, including the STL, templates, and various numerical libraries. The book also describes many of the important problems in financial engineering that are part of the day-to-day work of financial programmers in large investment banks and hedge funds. The author has extensive experience in the New York City financial industry that is now distilled into this handy guide. Focus is on providing working solutions for common programming problems. Examples are plentiful and provide value in the form of ready-to-use solutions that you can immediately apply in your day-to-day work. You’ll learn to design efficient, numerical classes for use in finance, as well as to use those classes provided by Boost and other libraries. You’ll see examples of matrix manipulations, curve fitting, histogram generation, numerical integration, and differential equation analysis, and you’ll learn how all these techniques can be applied to some of the most common areas of financial software development. These areas include performance price forecasting, optimizing investment portfolios, and more. The book style is quick and to-the-point, delivering a refreshing view of what one needs to master in order to thrive as a C++ programmer in the financial industry. Covers aspects of C++ especially relevant to financial programming. Provides working solutions to commonly-encountered problems in finance. Delivers in a refreshing and easy style with a strong focus on the practical.

Beginning iPad Development for iPhone Developers

Mastering the iPad SDK


Author: Jack Nutting,David Mark,Dave Wooldridge

Publisher: Apress

ISBN: 1430230223

Category: Computers

Page: 272

View: 4771

It's in magazines and newspapers, it's on television and radio, it's on buses and billboards and pretty much everywhere you look. The iPad is the touchscreen tablet from Apple, representing the next generation of mobile computing. Packed with dozens of new features, the iOS 3.2 SDK enables you to build sophisticated, desktop-quality apps for this exciting new platform. Every iPhone and iPod touch app developer looking to take the next step and move into the iPad arena will want to read this book from cover to cover. Beginning iPad Development for iPhone Developers: Mastering the iPad SDK has all the answers, and you'll find them presented with the same easy-to-follow style and thorough coverage you've come to expect from titles like Beginning iPhone 3 Development—everything an aspiring iPad developer needs to know to create great apps. Best-selling authors Jack Nutting, Dave Wooldridge, and Dave Mark show iPhone developers how to master all of the iPad-exclusive frameworks and features, which are explained, demonstrated in action, and put through their paces in this comprehensive programming guide. You'll get a detailed understanding of the new feature set and gain every possible advantage in the iTunes App Store.

C Programming in One Hour a Day, Sams Teach Yourself


Author: Bradley L. Jones,Peter Aitken,Dean Miller

Publisher: Sams Publishing

ISBN: 0133414388

Category: Computers

Page: 696

View: 6531

Sams Teach Yourself C Programming in One Hour a Day, Seventh Edition is the newest version of the worldwide best-seller Sams Teach Yourself C in 21 Days. Fully revised for the new C11 standard and libraries, it now emphasizes platform-independent C programming using free, open-source C compilers. This edition strengthens its focus on C programming fundamentals, and adds new material on popular C-based object-oriented programming languages such as Objective-C. Filled with carefully explained code, clear syntax examples, and well-crafted exercises, this is the broadest and deepest introductory C tutorial available. It’s ideal for anyone who’s serious about truly mastering C – including thousands of developers who want to leverage its speed and performance in modern mobile and gaming apps. Friendly and accessible, it delivers step-by-step, hands-on experience that starts with simple tasks and gradually builds to professional-quality techniques. Each lesson is designed to be completed in hour or less, introducing and clearly explaining essential concepts, providing practical examples, and encouraging you to build simple programs on your own. Coverage includes: Understanding C program components and structure Mastering essential C syntax and program control Using core language features, including numeric arrays, pointers, characters, strings, structures, and variable scope Interacting with the screen, printer, and keyboard Using functions and exploring the C Function Library Working with memory and the compiler Contents at a Glance PART I: FUNDAMENTALS OF C 1 Getting Started with C 2 The Components of a C Program 3 Storing Information: Variables and Constants 4 The Pieces of a C Program: Statements, Expressions, and Operators 5 Packaging Code in Functions 6 Basic Program Control 7 Fundamentals of Reading and Writing Information PART II: PUTTING C TO WORK 8 Using Numeric Arrays 9 Understanding Pointers 10 Working with Characters and Strings 11 Implementing Structures, Unions, and TypeDefs 12 Understanding Variable Scope 13 Advanced Program Control 14 Working with the Screen, Printer, and Keyboard PART III: ADVANCED C 15 Pointers to Pointers and Arrays of Pointers 16 Pointers to Functions and Linked Lists 17 Using Disk Files 18 Manipulating Strings 19 Getting More from Functions 20 Exploring the C Function Library 21 Working with Memory 22 Advanced Compiler Use PART IV: APPENDIXES A ASCII Chart B C/C++ Reserved Words C Common C Functions D Answers