Practical C programming
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...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Beijing ; Sebastopol, California :
O'Reilly Media, Inc
1997.
|
Edición: | 3rd ed |
Colección: | Nutshell handbook
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627292106719 |
Tabla de Contenidos:
- 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
- Bit Operations