Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

CS106L

CS106L 课程网站

2024.09 有 7 个 assginment

week

1 Types and Structs : struct, pair, using, auto

2 Initialization References Streams: L/R value, const, sstream, ofstream, ifstream

assign

代码存到 github or gitee,出于课程诚信考虑,课程结束前不会公开

1 SimpleEnroll

Original 106L Course Reader

Course Reader

Introduction

举例子求数列均值的代码(循环累加同除),升级版用 accumulate 除 distance,并说后者更加安全、简洁、通用

double GetAverage(double arr[], int numElems) {
double total = 0.0;
for(int h = 0; h < numElems; ++h)
total += arr[h] / numElems;
return total;
}

课程假设读者的c++水平等同于学过CS106B/X课程

带答案的练习用菱形(♦)标记

最后说该课程不是C++参考书。参考书推荐了 Bjarne Stroustrup的《C++编程语言》第三版、Lippman、Lajoie和Moo合著的《C++ Primer》第四版。也推荐了一些在线资源:

Chapter 0: What is C++?

相关阅读

https://csdiy.wiki/%E7%BC%96%E7%A8%8B%E5%85%A5%E9%97%A8/cpp/CS106L/

CS106L 过程记录 OleehyO 2024-02-21:补充了一些工具

CS106L系列 序言 砸楼梯

About

cs106l 2024 fall

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors