一.准备工作:
cs144的作业要求GNU/Linux操作系统中实现,在官方文档中已经给出了如何搭建环境:
1.
Recommended: Install the CS144 VirtualBox virtual-machine image (instructions at
https://stanford.edu/class/cs144/vm howto/vm-howto-image.html
).
2.
Run Ubuntu version 18.04 LTS, then run our setup script. You can do this on your actual
computer, inside VirtualBox, or on EC2 or another virtual machine (a step-by-step
guide is at
https://stanford.edu/class/cs144/vm howto/vm-howto-iso.html
).
3.
Use another GNU/Linux distribution, but be aware that you may hit roadblocks along
the way and will need to be comfortable debugging them. Your code will be tested
on Ubuntu 18.04 LTS with
g++
8.2.0 and must comp