diff options
Diffstat (limited to 'content/gemtext')
| -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> |
