C++ Programs to Accompany Programming Logic and Design pot

224 916 1
C++ Programs to Accompany Programming Logic and Design pot

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... PREFACE C++ Programs to Accompany Programming Logic and Design (also known as C++ PAL) is designed to provide students with an opportunity to write C++ programs as part of an Introductory Programming Logic course It is written to be a companion text to the student’s primary text, Programming Logic and Design, Fifth Edition, by Joyce Farrell This textbook assumes no programming language experience and provides... arithmetic and assignment operators, and using sequential statements to write a complete C++ program In Chapter 3, students learn how to transform pseudocode and flowcharts into C++ programs Chapters 4 and 5 introduce students to writing C++ programs that make decisions and programs that use looping constructs Students learn to use C++ to develop more sophisticated programs that include using arrays and passing... ORGANIZATION AND COVERAGE C++ PAL provides students with a review of the programming concepts they are introduced to in their primary textbook It also shows them how to use C++ to transform their program logic and design into working programs The structure of a C++ program, how to compile and run a C++ console program, and introductory object-oriented concepts are introduced in Chapter 1 Chapter 2 discusses C++ s... following irrelevant and extraneous details The examples in C++ PAL are often examples presented in the primary textbook, Programming Logic and Design, Fifth Edition The following table shows the correlation between topics in the two books C++PAL Programming Logic and Design, Fifth Edition Chapter 1: An Introduction to C++ and the C++ Chapter 1: An Overview of Computers and Logic Programming Environment... finished Chapter 1 of your book, Programming Logic and Design, Fifth Edition, by Joyce Farrell This chapter introduces the C++ programming language and its history It explains some introductory objectoriented concepts, and describes the process of compiling and executing a C++ program You begin writing C++ programs in Chapter 2 of this book THE C++ PROGRAMMING LANGUAGE The C programming language was written... concepts to be successful at reading and working with C++ programs in this book Note, however, that you will not learn enough to make you a C++ programmer You will have to take additional courses in C++ to become a C++ programmer This book teaches you only the basics To fully understand the term “object-oriented,” you need to know a little about procedural programming Procedural programming is a style of programming. .. »NOTE In Programming Logic and Design, Fifth Edition, data type num is used to refer to all numeric data types A distinction is not made between int and double as it is in C++ VARIABLES, OPERATORS, AND WRITING PROGRAMS USING SEQUENTIAL STATEMENTS EXERCISE 2-1: USING C++ VARIABLES, DATA TYPES, AND KEYWORDS In this exercise, you use what you have learned about naming C++ variables, C++ data types, and keywords... programming language and its history Explain introductory concepts and terminology used in object-oriented programming Recognize the structure of a C++ program Complete the C++ development cycle, which includes creating a source code file, compiling the source code, and executing a C++ program 1 AN INTRODUCTION TO C++ AND THE C++ PROGRAMMING ENVIRONMENT You should do the exercises and labs in this chapter... editor such as Notepad AN INTRODUCTION TO C++ AND THE C++ PROGRAMMING ENVIRONMENT EXECUTING A C++ PROGRAM To execute the Hello World program, do the following: »NOTE You must be in the same directory that contains the exe file when you execute the program 1 Open a Command Prompt window To do this in Windows XP, click the Start button, select All Programs, select Accessories, and then select Command... to complete partially pre-written C++ programs Using partially pre-written programs allows students to focus on individual concepts rather than an entire program The labs also allow students the opportunity to see their programs execute C++ PAL is unique because: » It is written and designed to correspond to the topics in the primary textbook, Programming Language and Design, Fifth Edition » The examples . PREFACE C++ Programs to Accompany Programming Logic and Design (also known as C++ PAL) is designed to provide students with an opportunity to write C++ programs. them how to use C++ to transform their program logic and design into working programs. The structure of a C++ program, how to compile and run a C++ console

Ngày đăng: 14/03/2014, 11:20

Từ khóa liên quan

Mục lục

  • Front Cover

  • Title Page

  • Copyright

  • Contents

  • PREFACE

  • READ THIS BEFORE YOU BEGIN

  • CHAPTER 1 AN INTRODUCTION TO C++ AND THE C++ PROGRAMMING ENVIRONMENT

    • THE C++ PROGRAMMING LANGUAGE

    • AN INTRODUCTION TO OBJECT-ORIENTED TERMINOLOGY

    • THE STRUCTURE OF A C++ PROGRAM

    • THE C++ DEVELOPMENT CYCLE

      • Writing C++ Source Code

      • Compiling A C++ Program

      • Executing A C++ Program

      • Exercise 1-1: Understanding the C++ Compiler

      • Lab 1.1: Compiling and Executing A C++ Program

      • CHAPTER 2 VARIABLES, OPERATORS, AND WRITING PROGRAMS USING SEQUENTIAL STATEMENTS

        • VARIABLES

          • Variable Names

          • C++ Data Types

          • Exercise 2-1: Using C++ Variables, Data Types, and Keywords

          • DECLARING AND INITIALIZING VARIABLES

            • Exercise 2-2: Declaring and Initializing C++ Variables

            • Lab 2-1: Declaring and Initializing C++ Variables

            • ARITHMETIC AND ASSIGNMENT OPERATORS

              • Arithmetic Operators

Tài liệu cùng người dùng

Tài liệu liên quan