Practical C Programming
Book information
Description
There are lots of introductory C books, but this is the first one that has the no-nonsense, practical approach that has made Nutshell Handbooks® famous. C programming is more than just getting the syntax right. Style and debugging also play a tremendous part in creating programs that run well and are easy to maintain. This book teaches you not only the mechanics of programming, but also describes how to create programs that are easy to read, debug, and update. Practical rules are stressed. For example, there are fifteen precedence rules in C. Read more... Abstract: There are lots of introductory C books, but this is the first one that has the no-nonsense, practical approach that has made Nutshell Handbooks® famous. C programming is more than just getting the syntax right. Style and debugging also play a tremendous part in creating programs that run well and are easy to maintain. This book teaches you not only the mechanics of programming, but also describes how to create programs that are easy to read, debug, and update. Practical rules are stressed. For example, there are fifteen precedence rules in C Content: Table of Contents Preface How This Book is Organized Chapter by Chapter Notes on the Third Edition Font Conventions Obtaining Source Code FTP FTPMAIL Comments and Questions Acknowledgments Acknowledgments to the Third Edition I What Is C? How Programming Works Brief History of C How C Works How to Learn C Basics of Program Writing Programs from Conception to Execution Wrappers Creating a Real Program Creating a Program Using a Command- Line Compiler Step 1. Create a Place for Your Program Step 2. Create the Program Step 3. Run the Compiler. UNIX cc compiler (generic UNIX)Free Software Foundation's gcc compiler Borland's Turbo C++ under MS-DOS Borland C++ under MS-DOS and Windows Microsoft Visual C++ Step 4. Execute the Program Creating a Program Using an Integrated Development Environment Step 1. Create a Place for Your Program Step 2. Enter, Compile, and Run Your Program Using the IDE Turbo C++ Borland C++ Microsoft Visual C++ Getting Help on UNIX Getting Help in an Integrated Development Environment IDE Cookbooks Turbo C++ Borland C++ Microsoft Visual C++ Programming Exercises Style Introduction. Common Coding PracticesCoding Religion Indentation and Code Format Clarity Simplicity Summary Basic Declarations and Expressions Elements of a Program Basic Program Structure Simple Expressions Variables and Storage Variable Declarations Integers Assignment Statements printf Function Floating Point Floating Point Versus Integer Divide Characters Answers Programming Exercises Arrays, Qualifiers, and Reading Numbers Arrays Strings Reading Strings Multidimensional Arrays Reading Numbers Initializing Variables Types of Integers Types of Floats Constant Declarations. Hexadecimal and Octal ConstantsOperators for Performing Shortcuts Side Effects ++x or x++ More Side-Effect Problems Answers Programming Exercises Decision and Control Statements if Statement else Statement How Not to Use strcmp Looping Statements while Statement break Statement continue Statement Assignment Anywhere Side Effect Answer Programming Exercises Programming Process Setting Up Specification Code Design Prototype Makefile Generic UNIX UNIX with the Free Software Foundation's gcc Compiler Borland C++ Turbo C++ Visual C++ Testing Debugging Maintenance. RevisionsElectronic Archaeology Marking Up the Program Using the Debugger Text Editor as a Browser Add Comments Programming Exercises II More Control Statements for Statement switch Statement switch, break, and continue Answers Programming Exercises Variable Scope and Functions Scope and Class Functions Functions with No Parameters Structured Programming Recursion Answers Programming Exercises C Preprocessor #define Statement #define vs. const Conditional Compilation include Files Parameterized Macros Advanced Features Summary Answers Programming Exercises.
Similar books
C/C++ programmer's reference
2003 · PDF
Vi IMproved, Vim
2001 · PDF
REWIRE YOUR BRAIN: HOW TO CHANGE YOUR LIFE HABITS TO DECLUTTER YOUR MIND AND OVERCOME NEGATIVITY. Accelerate your learning by the use of neuroscience of fear to end anxiety and panic.
2020 · AZW
Computerized System Validation: Be ready for audit!
2020 · AZW
Electronics And Electricity Basics
2019 · AZW
Lonely Planet Pocket Budapest
2019 · AZW
DIY Secret Hiding Places
2015 · AZW
The Easy Way To Advance Your Drumming
2012 · AZW