This is the hw01 sample. Please follow the steps below.
- Fork this repo to your own github account.
- clone the repo that you just forked.
- Under the hw01 dir, use:
make
to build.make clean
to clean the ouput files.
- After make, you can run the program by
./main.elf
under the hw01 dir.
- Edit main.c file. (Practice to use vim)
- Make and run like the steps above.
Notice that if you are going to add another source file or header files, you will have to modify the content of makefile.
- We are going to practice some C skills about function pointers and arrays of function pointers, please modify main.c with arrays of function pointers to simplify the code.
- You have to push your code to your github. (Using .gitignore to exclude the outpufiles like object files or executable files)