- 2
- 0
- 约1.01万字
- 约 32页
- 2016-11-27 发布于河南
- 举报
CChapter1-2_programming
* The next lecture Will talk about types, values, variables, declarations, simple input and output, very simple computations, and type safety. Stroustrup/Programming Chapters 1 2Programming and Programs Bjarne Stroustrup /Programming * 摘要 今天,我们将提纲携领地讲一下这门课程的目标及其我们大概的课程安排。我们将引入编程的一些基本概念,并且将给出一些例子以说明软件对我们人类文明的重要性。最后我们将展示一个可能是最简单的C++程序,并将大致讲解一下它如何被转化为可供运行的机器码。 Stroustrup/Programming * 总览 课程目标和大纲 编程 “Hello, world!” 编译 Stroustrup/Programming * 这是一门什么课程? 关于编程的课程 为下列初学者准备的课程 想成为专业程序员的人 比较聪明的人(不必是天才) 愿意付出努力的人 使用C++编程语言 Stroustrup/Programming * 这不是什么课程? 这不是一门大多数人掌握不了的课程 只要你是理工科学生,你就能掌握这门课程 也不是一门讨论C++语言细节的课程 也不是为下列学生准备的课程 想通过这门课程成为编程语言专家的人 又笨又懒的家伙 也不是使用未经考验的软件开发方法论的课程 Stroustrup/Programming * 课程目标 教/学 基础性的编程概念 关键的有用的编程技术 基本的标准C++库功能 学会这门课程后,你将能 写一些小的、有用的程序 读更大的程序 自学很多其他编程语言的基础知识 继续一门高级的C++编程课程 学会本课程后,你并不会成为 专家级程序员 C++语言专家 高级库的专家级用户 Stroustrup/Programming * 学习方法 认真听课 出席每一堂课 Notes/Chapters 预习 复习 欢迎反馈 Stroustrup/Programming * 学习方法 (续) Work Review questions in chapters Review “Terms” in Chapters 小练习 做所有小练习 在做习题前完成小练习 习题 Course specific 项目 That’s where the most fun and the best learning takes place 小测验 考试 Stroustrup/Programming * Cooperate on Learning Except for the work you hand in as individual contributions, we strongly encourage you to collaborate and help each other If in doubt if a collaboration is legitimate: ask! Don’t claim to have written code that you copied from others Don’t give anyone else your code (to hand in for a grade) When you rely on the work of others, explicitly list all of your sources – i.e. give credit to those who did the work Don’t study alone when you don’t have to Form study groups Do help each other (without plagiarizing) Go to your TAs office hours Go prepared with questions The only stupid questions are the ones you wanted to ask but didn’t Stroustrup/Programming * Why C++ ? 不借助一门编程语言你无法学习编程 编程语言的目的是允许你用代码来表达思想 对于绝大多数应用领域,C++允许你用代码最直接地表达你的思想 C++是工程领域中使用最广泛的编程语言 /~bs/applications.html Stroustrup/Programming * Why C++ ? C++ is precisely and
原创力文档

文档评论(0)