- Shopping Bag ( 0 items )
C/C++ programming is often thought of as inaccessible, but these languages form the basis for many other programming languages and paradigms, and as such are vital, necessary skills for any IT professional to learn. Just Enough C/C++ Programming provides an intelligent layperson's guide to programming. The book does not assume you are dimwitted, like so many other beginning programming texts do, but it doesn't assume you are an engineer either. It simply gives you enough C/C++ language knowledge to be able to complete practical, industry-related, programming projects without becoming sidetracked. In short, it teaches you everything you need to know to be a successful programmer, without overloading you on the details. The book begins by explaining the tools you'll need, providing a concise introduction to the world of programming, and explaining the basic structure of a C program. Algorithm design for common programming problems, use of compilers and pre-processors, and the standard ANSI C libraries are all covered in enough detail so that you can pick up and apply the knowledge immediately. Next, the book covers the most relevant differences between C and C++, including C++ Standard Libraries, templates, and STL. 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, ready-to-use knowledge.
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
Posted March 22, 2008
Are you a beginner or intermediate C and C++ programmer? If you are, this book is for you! Author Guy W. Lecky-Thompson, has done an outstanding job of writing a great book that provides you with just enough information on the subject of C/C++ in hand to be useful in the real world. Lecky-Thompson, begins by showing you what the tools of the trade really are, some of the basic concepts related to the programming process. Next, the author focuses on the programming primer. Then, he covers some of the various concepts that make up the typical C program. The author continues by showing you how information is stored in a program. In addition, the author introduces you to Console I/O--showing you ways to get information from the user and display it on the screen. He also shows you how to selectively perform tasks based on the outcome of preceding tasks, which is vital in programming. Next, the author covers mechanisms that are available for task repetition. Then, he covers standard libraries. The author continues by providing you with a detailed explanation of how programs process incoming arguments and, how you can create functions within your programs. In addition, he deals with file I/O--which deals with ways to process files and perform external data storage. The author also shows you how you can create your own templates for storing information. Next, he looks at pointers--which is an advanced programming topic, but necessary for understanding the bridge into C++. Then, the author looks at pre-processor directives--which detail how you communicate with the program charged with taking your code and turning it into an application. He continues by discussing the extensions to C that make C++ a useful language. In addition, the author gives you some direction as to how you can go about using all of this information. Finally, he provides a list of all the various useful Web references. This most excellent book provides vast amounts of reference material. What¿s most important though, is to use the source code from the companion Web site, and click on the Downsload button.
1 out of 1 people found this review helpful.Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.