《C++程序设计》(英文版) Chapter 1 Topics

Programming in c++ Author. Nell Dale Chip Weems Mark Headington Published By Higher Education Press Jones and Bartlett Publishers Dale/eems/Headington
1 Author: Nell Dale Chip Weems Mark Headington Published By Higher Education Press Jones and Bartlett Publishers

Programming in c++ Instructor: Yu Ruiguo E-mail:gyu@tju.edu.cn Assistant: Li QingSen E-mail:qingsenli@eyou.com Dale/eems/Headington
2 Instructor: Yu RuiGuo E-mail:rgyu@tju.edu.cn Assistant: Li QingSen E-mail:qingsenli@eyou.com

Programming in c++ Overview of Programming and Problem Solving Dale/eems/Headington
3 Overview of Programming and Problem Solving

Programming in C++ Chapter 1 Topics o Computer Programming %Programming Life-Cycle Phases Creating an Algorithm 8 Machine Language vs High Level Languages Compilation and Execution Processes 心C++ History Computer Components Computing Profession Ethics Problem-Solving Techniques
4 Chapter 1 Topics ❖Computer Programming ❖Programming Life-Cycle Phases ❖Creating an Algorithm ❖Machine Language vs. High Level Languages ❖Compilation and Execution Processes ❖C++ History ❖Computer Components ❖Computing Profession Ethics ❖Problem-Solving Techniques

Programming in C++ What is Computer Programming? olt is the process of planning a sequence of steps(called instructions) for a computer to follow STEP 1 STEP 2 STEP 3
5 What is Computer Programming? ❖It is the process of planning a sequence of steps (called instructions) for a computer to follow. STEP 1 STEP 2 STEP 3 . .

Programming in C++ Programming Life Cycle Phases 1 Problem-Solving 2 Implementation 3 Maintenance
6 Programming Life Cycle Phases 1 Problem-Solving 2 Implementation 3 Maintenance

Programming in C++ Figure 1-1 Programming Process Analysis and specification General solution Concrete solution (algorithm) (program) Verify Maintenance phase PROBLEM-SOLVING PHASE MPLEMENTATION PHASE
7 Analysis and specification General Solution (algorithm) Verify Concrete solution (program) Test Maintenance phase Figure 1-1 Programming Process PROBLEM-SOLVING PHASE IMPLEMENTATION PHASE

Programming in C++ The First Step Problem-Solving Phase &ANALYZE the problem and SPECIFY what the solution must do %develop a GENERAL SOLUTION (ALGORITHM)to solve the problem &VERIFY that your solution really solves the problem
8 Problem-Solving Phase ❖ANALYZE the problem and SPECIFY what the solution must do ❖develop a GENERAL SOLUTION (ALGORITHM) to solve the problem ❖VERIFY that your solution really solves the problem The First Step

Programming in C++ Sample Problem A programmer needs an algorithm to determine an employee's weekly wages. How would the calculations be done by hand?
9 Sample Problem A programmer needs an algorithm to determine an employee’s weekly wages. How would the calculations be done by hand?

Programming in C++ One Employee's Wages In one week an employee works 52 hours at the hourly pay rate of $24.75 Assume a 40.0 hour normal work week and an overtime pay rate factor of 1.5 What are the emplovee's wages? 40x$24.75$990.00 12x1.5xS24.75=S445.50 s1435.50 10
10 One Employee’s Wages In one week an employee works 52 hours at the hourly pay rate of $24.75. Assume a 40.0 hour normal work week and an overtime pay rate factor of 1.5 What are the employee’s wages? 40 x $ 24.75 = $ 990.00 12 x 1.5 x $ 24.75 = $ 445.50 ___________ $ 1435.50
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《网络互连技术教程》第9章 广播.ppt
- 《网络互连技术教程》第8章 用户数据报协议—UDP.ppt
- 《网络互连技术教程》第7章 CMP和网络状态.ppt
- 《网络互连技术教程》第6章 地址解析.ppt
- 《网络互连技术教程》第5章 子网与超网.ppt
- 《网络互连技术教程》第4章 网络互连协议——IP.ppt
- 《网络互连技术教程》第3章 网络接入技术.ppt
- 《网络互连技术教程》第2章 网络互连体系.ppt
- 《网络互连技术教程》第1章 网络的历史与发展.ppt
- 《网络互连技术教程》第12章 应用服务.ppt
- 《网络互连技术教程》第11章 域名服务系统—DNS.ppt
- 《网络互连技术教程》第10章 传输控制协议—7CP.ppt
- 高职高专课程:《数据库应用技术(SQL SERVER2000)》电子教案(PPT教学课件)第9章 存储过程与触发器.ppt
- 高职高专课程:《数据库应用技术(SQL SERVER2000)》电子教案(PPT教学课件)第8章 视图及其应用.ppt
- 高职高专课程:《数据库应用技术(SQL SERVER2000)》电子教案(PPT教学课件)第7章 索引及其应用.ppt
- 高职高专课程:《数据库应用技术(SQL SERVER2000)》电子教案(PPT教学课件)第6章 SQL Server 2000 数据完整性.ppt
- 高职高专课程:《数据库应用技术(SQL SERVER2000)》电子教案(PPT教学课件)第5章 数据的基本操作.ppt
- 高职高专课程:《数据库应用技术(SQL SERVER2000)》电子教案(PPT教学课件)第4章 数据库中表的基本操作.ppt
- 高职高专课程:《数据库应用技术(SQL SERVER2000)》电子教案(PPT教学课件)第3章 数据库的基本操作.ppt
- 高职高专课程:《数据库应用技术(SQL SERVER2000)》电子教案(PPT教学课件)第2章 SQL Server 2000 概述.ppt
- 《C++程序设计》(英文版) Chapter 2 Topics.ppt
- 《C++程序设计》(英文版) Chapter 3 Topics.ppt
- 《C++程序设计》(英文版) Chapter 4 Topics.ppt
- 《C++程序设计》(英文版) Chapter 5 Topics.ppt
- 《C++程序设计》(英文版) Chapter 6 Topics.ppt
- 《C++程序设计》(英文版) Chapter 7 Topics.ppt
- 《C++程序设计》(英文版) Chapter 8 Topics.ppt
- 《C++程序设计》(英文版) Chapter 9 Topics.ppt
- 《C++程序设计》(英文版) Chapter 10 Topics.ppt
- 《C++程序设计》(英文版) Chapter 11 Topics.ppt
- 《C++程序设计》(英文版) Chapter 12 Topic.ppt
- 《C++程序设计》(英文版) Chapter 13 Topics.ppt
- 《C++程序设计》(英文版) Chapter 14 Topics.ppt
- 《C++程序设计》(英文版) Chapter 15 Topics.ppt
- 《Java编程技术基础》第一章 面向对象原理与实现.ppt
- 《Java编程技术基础》第二章 Java的实现基础.ppt
- 《Java编程技术基础》第二章习题.doc
- 《Java编程技术基础》第三章 类与对象(一).ppt
- 《Java编程技术基础》第三章习题.doc
- 《Java编程技术基础》第四章 类与对象(二).ppt