diff options
| author | Paul Buetow <git@mx.buetow.org> | 2021-05-01 18:59:02 +0100 |
|---|---|---|
| committer | Paul Buetow <git@mx.buetow.org> | 2021-05-21 05:11:04 +0100 |
| commit | 16c7302cf08b121651bce2d348d5aa089517a457 (patch) | |
| tree | 46694f52d5fc8bf7c6c7ae1603252580d47404d3 /content/html/gemfeed/2016-11-20-methods-in-c.html | |
| parent | e664b3889320a2dbd02100395a649850695cb56b (diff) | |
add dns blog post
Diffstat (limited to 'content/html/gemfeed/2016-11-20-methods-in-c.html')
| -rw-r--r-- | content/html/gemfeed/2016-11-20-methods-in-c.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/html/gemfeed/2016-11-20-methods-in-c.html b/content/html/gemfeed/2016-11-20-methods-in-c.html index 5de22d33..6024c3fb 100644 --- a/content/html/gemfeed/2016-11-20-methods-in-c.html +++ b/content/html/gemfeed/2016-11-20-methods-in-c.html @@ -23,7 +23,7 @@ li { color: #98be65; } <h1>Methods in C</h1> <p>You can do some sort of object oriented programming in the C Programming Language. However, that is very limited. But also very easy and straight forward to use.</p> <h2>Example</h2> -<p>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:</p> +<p>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:</p> <pre> #include <stdio.h> |
