diff options
| author | Paul Buetow <git@mx.buetow.org> | 2021-05-01 18:42:52 +0100 |
|---|---|---|
| committer | Paul Buetow <git@mx.buetow.org> | 2021-05-21 05:11:04 +0100 |
| commit | e664b3889320a2dbd02100395a649850695cb56b (patch) | |
| tree | c6b7cabac7e9249fe08e5691e739fdf6f2de7770 | |
| parent | f3ec7cbab0ecdb1ba945431e6ab0e2ebe8bf3193 (diff) | |
better
| -rw-r--r-- | content/gemtext/gemfeed/2016-11-20-methods-in-c.gmi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/gemtext/gemfeed/2016-11-20-methods-in-c.gmi b/content/gemtext/gemfeed/2016-11-20-methods-in-c.gmi index 88315d23..0b22bc03 100644 --- a/content/gemtext/gemfeed/2016-11-20-methods-in-c.gmi +++ b/content/gemtext/gemfeed/2016-11-20-methods-in-c.gmi @@ -8,7 +8,7 @@ You can do some sort of object oriented programming in the C Programming Languag ## Example -Lets take a look at the following sample program. Basically all you have to do is to add a function pointer such as "calculate" to the definition of struct "something_s". Later, during the struct initialization, assign a function address to that function pointer: +Lets have a look at the following sample program. Basically all you have to do is to add a function pointer such as "calculate" to the definition of struct "something_s". Later, during the struct initialization, assign a function address to that function pointer: ``` #include <stdio.h> |
