tailieunhanh - C++: A Beginner's Guide, Second Edition

Essential skills made easy! Written by Herb Schildt, the world's leading programming author, this step-by-step book is ideal for first-time programmers or those new to C++. The modular approach of this series, including sample projects and progress checks, makes it easy to learn to use C++ at your own pace. | wtft QU VtvfOl c A Beginner s Guide I Second Edition Module 1 C Fundamentals Table of Contents CRITICAL SKILL A Brief History of C .2 CRITICAL SKILL How C Relates to Java and c .5 CRITICAL SKILL Object-Oriented CRITICAL SKILL A First Simple CRITICAL SKILL A Second Simple CRITICAL SKILL Using an CRITICAL SKILL Reading Input from the Project 1-1 Converting Feet to CRITICAL SKILL Two Control CRITICAL SKILL Using Blocks of Project 1-2 Generating a Table of Feet to Meter CRITICAL SKILL Introducing CRITICAL SKILL The C CRITICAL SKILL If there is one language that defines the essence of programming today it is C . It is the preeminent language for the development of high-performance software. Its syntax has become the standard for professional programming languages and its design philosophy reverberates throughout computing. 1 C A Beginner s Guide by Herbert Schildt C is also the language from which both Java and C are derived. Simply stated to be a professional programmer implies competency in C . It is the gateway to all of modern programming. The purpose of this module is to introduce C including its history its design philosophy and several of its most important features. By far the hardest thing about learning a programming language is the fact that no element exists in isolation. Instead the components of the language work together. This interrelatedness makes it difficult to discuss one aspect of C without involving others. To help overcome this problem this module provides a brief overview of several C features including the general form of a C program some basic control statements and operators. It does not go into too many details but rather concentrates on the general concepts common to any C program. CRITICAL SKILL A Brief History of C The history of C begins .