【原】MIT在线课程学习笔记之《Introduction to C Memory Management and C++ Object-Oriented Programming》
2017-05-21 22:30
387 查看
第一课深入malloc与newAbstract Memory Machine
课程目标与先决条件
课程安排
高阶C介绍
C家族
C哲学
如何开始C编程
复习与作业
Backgroud:
* 专业知识
1.基本数据结构(链表、二叉搜索树等)
2.基本的命令式编程概念
- 变量
- 循环
- 函数与函数抽象
* 其他知识
1.函数式编程
2.系统编程
3.硬件
4.另一种OOP编程语言
C++:1979年,Bjarne Stroustrup
C#:2001年,Microsoft
内存布局图
写一个hello.c。
编译:gcc -o run_hello hello.c
运行:./run_hello
编译并运行HelloWorld,打印系统时间
试一试gdb和valgrind
课程目标与先决条件
课程安排
高阶C介绍
C家族
C哲学
如何开始C编程
复习与作业
第一课:深入malloc与new——Abstract Memory Machine
课程目标与先决条件
Goal: 帮助熟练的程序员理解何时、如何去使用C和C++Backgroud:
* 专业知识
1.基本数据结构(链表、二叉搜索树等)
2.基本的命令式编程概念
- 变量
- 循环
- 函数与函数抽象
* 其他知识
1.函数式编程
2.系统编程
3.硬件
4.另一种OOP编程语言
课程安排
共6次课。6天。序号 | 主题 |
---|---|
1 | C与内存管理 |
2 | 内存管理逻辑 |
3 | 高级内存管理 |
4 | C++与OOP |
5 | 高级OOP |
6 | 技巧,Q&A |
高阶C介绍
C家族:
C:1972年,Dennis RitchieC++:1979年,Bjarne Stroustrup
C#:2001年,Microsoft
C哲学
C是编译的、命令式的、手动内存管理的、追求速度、内存、底层特性的。内存布局图
如何开始C编程
获取C编译器,如GCC)写一个hello.c。
#include <stdio.h> int main() { }
编译:gcc -o run_hello hello.c
运行:./run_hello
复习与作业
获取C编译器并安装编译并运行HelloWorld,打印系统时间
试一试gdb和valgrind
相关文章推荐
- MIT:Introduction to C Memory Management and C++ Object-Oriented Programming
- Introduction to C Memory Management and C++ Object-Oriented Programming
- 开始学习MIT课程6.046J / 18.410J Introduction to Algorithms (SMA 5503), Fall 2005
- Introduction to Languages and the Theory of Computation--Chapter 1 学习笔记
- MIT Introduction to Algorithms 学习笔记(三)
- Introduction to Materials Management 学习笔记
- 【学习笔记】Introduction to Computer Science and Programming
- Introduction to Materials Management 学习笔记--编制主计划
- Andrew NG机器学习课程笔记系列之——Introduction to Machine Learning
- MIT Introduction to Algorithms 学习笔记(八)
- MIT Introduction to Algorithms 学习笔记(十)
- MIT Introduction to Algorithms 学习笔记(二)
- 2011斯坦福大学iOS应用开发教程学习笔记(第一课)MVC.and.Introduction.to.Objective-C
- Java学习笔记(1)Introduction to Computers, Programs, and Java
- Udacity cs344-Introduction to Parallel Programming学习笔记-如何在VS环境下编译课程习题代码
- 斯坦福大学iOS应用开发教程学习笔记(第一课)MVC.and.Introduction.to.Objective-C
- MIT Introduction to Algorithms 学习笔记(一)
- 2011斯坦福大学iOS应用开发教程学习笔记(第一课)MVC.and.Introduction.to.Objective-C
- Introduction to Materials Management 学习笔记--前言和概述
- MIT Introduction to Algorithms 学习笔记(六)