Introduction to Programming: C/C++

所在平台: Udemy

课程主页: https://www.udemy.com/course/introduction-to-programming-c-cpp/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:** C/C++ 编程入门 **课程概述:** 本课程旨在帮助学生掌握 C 语言的基础编程概念,并进一步探索 C++ 语言及其与 C 语言的关系。通过学习 C 语言,学生将建立起过程式编程的基本技能,并初步了解面向对象编程的思想。此外,课程还将包含 C++ 的简要介绍。掌握 C 语言的知识可以加速学生学习 C#、Java 和 Python 等更高级语言的过程。课程将从基础关键字到高级抽象概念,逐步构建学生的编程能力,鼓励学生在学完本课程后继续深入学习高级编程语言。 **课程内容要点:** **第一部分:C 语言基础** * 课程介绍与学习方法 * C 语言与编程概念入门 * “Hello World” 程序 * 数据类型 * 输入与输出 * 注释 * 运算符 * 条件语句(if, else if, else, else if 嵌套, switch) **第二部分:C 语言进阶** * 逻辑运算符 * 循环(for, while) * 函数 * 递归 * 数组与多维数组 **第三部分:C 语言高级特性** * 字符串与字符串函数,ASCII 码 * 指针 * 函数指针 * void 指针,static 关键字 * 结构体 (Structures) * 联合体 (Unions) **第四部分:内存管理与错误处理** * 内存分配与管理 * 内存函数(malloc, calloc, realloc) * 动态字符串与数组 * 错误处理 **第五部分:文件操作与预处理器** * 文件操作(普通文件 I/O,二进制文件 I/O),随机文件访问 * 预处理器指令,作用域,头文件 * 条件编译指令 * 预处理器运算符 **第六部分:C++ 语言概览** * C++ 与 C 的区别:新数据类型(字符串,布尔类型),函数/参数重载 * 类入门(构造函数,对象) * 类进阶:类头文件,命名空间,成员初始化列表 * 类高级特性:访问修饰符,`this` 指针,`friend` 关系,继承与多态 * 抽象类/接口,`virtual` 关键字,运算符重载 * 泛型类型/类(Templates),异常处理 * 文件操作,枚举 (Enumerations) **第七部分:期末项目** * 期末考试 * 课程设计项目 **推荐教材:** * 《C 程序设计语言》(第二版),作者:Brian W. Kernighan 和 Dennis M. Ritchie。此书是编程界的经典之作,对于打牢编程基础至关重要。 * 《C++ 标准库:教程与参考》(第一版),作者:Nicolai M. Josuttis。此书在 eBay 等平台价格非常便宜。

课程评论(0条)

课程详情

In this course, students will learn elementary programming concepts with the C language, with an additional section studying C++ and the relation between the two languages. Learning C will allow students to develop the basic skills for procedural programming and the fundamentals of object orientation, as well as a short study of C++. Students can use this knowledge to take on learning higher-level languages such as C#, Java, and Python in an accelerated manner. The class will focus on building programming skills from fundamental keywords to high-level abstraction, in hopes that the student will then continue on to learn a high-level programming language afterward.Students will learn the following aspects of programming using the C language:Section 1:-Introduction, how to succeed in the course-What is C, understanding programming, setup-Hello World-Data Types-Input and Output-Commenting-Operators-Introducing Conditionals-Conditionals-Nested Conditionals, SwitchesSection 2:-Logic Operators-Loops: for, while-Functions-Recursion-Arrays, MatricesSection 3:-Strings/String Functions, ASCII-Pointers-Function Pointers-The void Pointer, Static-Structures-UnionsSection 4:-Memory Management-Memory Functions: malloc, calloc, realloc-Dynamic Strings and Arrays-Error HandlingSection 5:-Working With Files, Binary File I/O, Random Generation-Preprocessor Directives, Scope, Headers-Conditional Compilation Directives-Preprocessor OperatorsSection 6 - C++: -Differences: new data types (strings, boolean), function/argument overloading-Intro to Classes (constructors, objects)-Intermediate Classes: class headers, namespaces, member initializer lists-Advanced Classes: access keywords, 'this', 'friend', inheritance and polymorphism-Abstract Classes/Interfaces, 'virtual', operator overloading-Generic Types/Classes (Templates), Exceptions-Files, EnumerationsSection 7 - Capstone: -Final exam-Capstone projectOptional textbooks: -"C Programming Language, 2nd Edition" by Brian W. Kernighan and Dennis M. Ritchie (Various prices by format and rental); this book is extremely well-known in the programming community for being fundamental to developing one's skills with programming languages.-"The C++ Standard Library: A Tutorial and Reference, 1st Edition" by Nicolai M. Josuttis (Various prices by format and rental, very cheap on eBay)

课程标签

0人关注该课程

主题相关的课程