- 1、本文档共26页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
C-2 Introduction.pdf
Fundamentals of
Programming (C)
Mingtao Pei
School of Computer Science
peimt@bit.edu.cn
Lecture 2
Introduction
Outline
2.1 Overview of C
2.2 Basic Structure of C Program
2.3 Essential Elements of C
2.4 Programming Process
3
Outline
2.1 Overview of C
2.2 Basic Structure of C Program
2.3 Essential Elements of C
2.4 Programming Process
4
The History of C
n 1967 Martin.Richads of Cambridge: CPL→ BCPL
n 1970 Ken ·Thompson of Bell Laboratories: BCPL→
B
n 1972 Dennis ·Ritchie of Bell Laboratories: B→ C
n 1973 K.Thompson D.Ritchie: Rewrite UNIX by C
n 1977 UNIXC are widely used
5
The History of C
n 1978 The famous book 《The C Programming
Language》is published
n By the early 1980s, C evolved into Traditional C
n In the late 1980s, ANSI created draft standards for
ANSI C or standard C
n In 1990, ISO accepted ANSI C as ISO standard C
6
Why C ?
n C is portable. Code written on one machine can be
easily moved to another
n C is terse
n C is modular
n C is the basis of C++ and java
n C is efficient on most machines.
n Criticism of C
n Complicated syntax
n No automatic array bounds checking 7
Outline
2.1 Overview of C
2.2 Basic Structure of C Program
2.3 Essential Elements of C
2.4 Programming Process
8
Example C program
9
Another Example
您可能关注的文档
- 7号信令基本概述.pdf
- 8 Conclusions and future work.doc
- 8.11二进制相位键控(PSK)调制器与解调器设计.ppt.Convertor.doc
- 802.15.4协定堆叠实作与硬体ASIC设计以及应用於生医监控之生理讯号转送器 (TW).pdf
- 8th_BQConf鲁学超-持续集成之本地构建.pdf
- 8计算机视觉概论2010.pdf
- A Comparison of Auction and Flat Pricing for Differentiated Service Networks Abstract.pdf
- A Comparison of SESAME and SSL for Intranet and Internet Security.pdf
- A Guide to Wardriving and Detecting Wardrivers(无线网络资料)6.pdf
- A New Data Storage and Service Model of China Web.pdf
- “共和国勋章”获得者张富清事迹作文7篇(精选).docx
- “学海导航”中学语文课堂教学设计.docx
- “我和我的家乡”征文范本7篇(精选).docx
- 《木兰诗》翻译及原文.docx
- 湖南省衡阳市衡阳县长宁金山区2025届高三数学上学期12月联考试题文含解析.doc
- 2024年高考生物二轮复习核心考点专项突破人体的稳态与免疫调节练习含解析.docx
- 2024_2025学年高中数学第一章统计1.3统计图表学案含解析北师大版必修3.doc
- 二年级语文下册课文311我是一只小虫子教案新人教版.doc
- 2024_2025学年新教材高中历史第二单元中古时期的世界第4课中古时期的亚洲习题含解析新人教版必修中外历史纲要下.docx
- 2024_2025学年新教材高中地理第4章地球上水的运动与能量交换第2节世界洋流的分布与影响课后练习含解析中图版选择性必修1.doc
文档评论(0)