面向对象程序设计Chapter 01.ppt

  1. 1、本文档共49页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
面向对象程序设计Chapter 01

C++程序设计 Programming in C++ Nell Dale Chip Weems Communication Information Teacher: Yue e lü qddz2001@126.com Main Contents of The Course Theory about Computer Programming Basic Programming skill in C++ Object-Oriented Programming in C++ (Class and Object, etc.)(面向对象程序设计) Requirement of Learning Learn the grammar of C++ language; Improve practical programming skills by doing exercises and experiments; Preparation for reading original technical or research materials; Think about the author’s ideas, and consider programming from different views. Chapter 1 Overview of Programming and Problem Solving Chapter 1 Topics To understand what a computer program is. To understand what an Algorithm is. To learn what a high-level programing language is. To understand the Compilation and Execution processes To learn what the major components of a computer are and how they work together 1.1.1 Basic Concepts Computer A programmable device that can store, retrieve and process data. Computer Program A sequence of instructions to be performed by a computer. 1、 Problem-Solving Phase(解决问题阶段) ANALYZE the problem and SPECIFY what the solution must do(分析问题并找出解决方案) ALGORITHM develop a logical sequence of steps that solves the problem(给出解决问题的逻辑步骤) VERIFY that your solution really solves the problem(验证方案的正确性) TESTING your program means running (executing) your program on the computer, to see if it produces correct results.if it does not, then you must find out what is wrong with your program or algorithm and fix it--this is called debugging(调试) 3、Maintenance Phase (维护阶段) USE use the program. Maintain MODIFY the program to meet changing requirements or correct errors that show up in using it 1.2 What is a programming language? It is a language with: strict grammar rules, symbols, and special words used to construct a computer program. 1.2.1 Machine Language The language, made up of binary-c

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档