Just Enough C/C ++ Programming / Edition 1by Guy W. Lecky-Thompson
C programming is often thought of as inaccessible, but the language forms the basis for many other programming languages and paradigms, and as such is a vital, necessary skill for any IT professional to learn. Just Enough C/C++ Programming provides and intelligent layperson's guide to programming. The book does not assume you are a dummy, like so many other… See more details below
C programming is often thought of as inaccessible, but the language forms the basis for many other programming languages and paradigms, and as such is a vital, necessary skill for any IT professional to learn. Just Enough C/C++ Programming provides and intelligent layperson's guide to programming. The book does not assume you are a dummy, like so many other beginning programming texts do, but it doesn't assume you are an engineer either. It simply gives you enough C language knowledge to be able to complete practical, in-industry, programming projects without becoming sidetracked by the peculiarities and complexities of this often complex language. Algorithm design for common programming problems, use of compilers and pre-processors, and the standard ASNI C libraries are all covered in enough detail so that you can pick up and apply the knowledge immediately. The companion web site includes usable sample code for download and key pointers on how the code can be adapted for real world use. Perfect for any aspiring software developer, Just Enough C/C++ Programming offers both a comfortable read, and practical, applicable, knowledge. Benefits:
• Takes an intelligent layperson's approach to C/C++ programming.
• Provides an introduction to the mechanics of programming, algorithm, and program design.
• Offers information about programming in general, and C/C++ programming and application design in particular.
• Gives the reader enough C language knowledge to be able to complete practical programming projects without becoming sidetracked by the peculiarities and complexities of the language.
• Includes summaries and how-to information for the main ANSI C libraries and a pull-out section for quick reference.
• Companion web site includes usable sample code for download and key pointers on how the code can be adapted for real world use.
- Cengage Learning
- Publication date:
- Edition description:
- New Edition
- Sales rank:
- Product dimensions:
- 7.30(w) x 9.10(h) x 1.20(d)
Table of Contents
1 Introduction Conventions Before You Begin : Getting the Right Tools Editor Compiler & Linker 2 Programming Recap What is Programming? Procedural Programming Program Flow Data Storage Compiling & Linking Executable File Format External Files (Header Files) 3 C Program Structure The Entry Point Declaring Variables Containing Code Blocks Variable Scoping Comments Defining Functions Simple Skeleton Application Building the Application If the Application Fails to Build Recap 4 Data Types & Variables Basic Types Sizes & Ranges Complex Data Types Casting Arrays Enumerated Types Data Types & Variables Recap 5 Decision Making The C if Statement The else Keyword Using else if Nesting The switch Statement Recap 6 Console I/O Formatted Output Using printf Using sprintf Formatted Input Using scanf Using sscanf Non-formatted I/O Recap 7 Standard Libraries Standard I/O : stdio.h String Handling : string.h Math Functions : math.h Memory Handling : malloc.h The Standard Library : stdlib.h The Time Library : time.h 8 Loops The for Loop The while Loop More do and while Using break and continue Nesting Loops Scoping revisited Recap 9 Command Line Processing The argv and argc Variables Processing the Command Line Conditional Execution Recap 10 User Defined Functions Declaring Functions Prototyping Function Parameter Lists Pass by Value Pass by Reference Recursion Recap 11 File I/O Formatted I/O Revisited Using fprintf Using fscanf Using fprintf & fscanf together Binary Input and Output Using fread and fwrite Recap 12 Complex Data Types The struct Keyword Accessing Data File Processing with Complex Data Types Recap 13 Pointers Strings Revisited Pointers and References Dereferencing Pointers and Memory Example : A Linked List of Command Line Arguments Recap 14 Pre-Processor Directives The Pre-Processor Concept The #include Directive The #define Directive Avoiding Multiple Includes C Style Macros Recap *[ 15 From C to C++ Object Oriented Design Object Oriented Programming Prototyping Revisited Classes Inheritance Polymorphism Example : A Linked List of Command Line Arguments (revisited) Recap 16 C++ in Practice Defining Classes Constructors Destructors Operators Example : Linked List Self-Management Overloading Recap ] 17 Where Next? 18 Web References
and post it to your social network
Most Helpful Customer Reviews
See all customer reviews >