From 145949ebce317c2922e9f90e2f601e18812aac77 Mon Sep 17 00:00:00 2001 From: Mactavish <maczhanchao@yahoo.com> Date: Wed, 3 May 2023 22:47:24 +0200 Subject: [PATCH] update slides --- slides/pages/pointer-4.md | 6 +++++- slides/pages/qa.md | 19 +++++++++++++++++++ slides/slides.md | 4 ++++ 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 slides/pages/qa.md diff --git a/slides/pages/pointer-4.md b/slides/pages/pointer-4.md index 263692b..fb713e4 100644 --- a/slides/pages/pointer-4.md +++ b/slides/pages/pointer-4.md @@ -25,7 +25,7 @@ int (*Object_vtable[])(); // an array of pointers to function returning int ::right:: -## Exercise +### Exercise I Discuss with your teammates and read these declarations out loud: @@ -36,3 +36,7 @@ Discuss with your teammates and read these declarations out loud: - `int *(*(*(*b)())[10])();` - `char *strprt( char (*)( int ), unsigned char );` - `int (*const ab[])( unsigned int );` + +### Exercise II + +Implementing higher order functions in C, see [exercises/higher-order-func](https://git.imp.fu-berlin.de/mactavish96/alp4-tutorials/-/tree/tutorial-2/exercises/higher-oder-func) diff --git a/slides/pages/qa.md b/slides/pages/qa.md new file mode 100644 index 0000000..cb8ceb3 --- /dev/null +++ b/slides/pages/qa.md @@ -0,0 +1,19 @@ +--- +title: Q&A +--- + +# Q&A + +Questions about: + +- First Assignment Sheet +- Second Assignment Sheet +- Programming exercises +- Organisation + +<br/> + +### Materials + +- [Reading C Declarations: A Guide for the Mystified](http://www.ericgiguere.com/articles/reading-c-declarations.html) +- [Higher Order Functions in C](https://foxypanda.me/higher-order-functions-in-c/) diff --git a/slides/slides.md b/slides/slides.md index eea541a..695b23c 100644 --- a/slides/slides.md +++ b/slides/slides.md @@ -59,3 +59,7 @@ transition: slide-left src: ./pages/pointer-4.md --- +--- +transition: slide-left +src: ./pages/qa.md +--- -- GitLab