diff options
| author | Paul Buetow <paul@buetow.org> | 2022-01-23 16:13:23 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-01-23 16:13:23 +0000 |
| commit | c2a7a5f812ec1fde534adab4c954316643135335 (patch) | |
| tree | 0e3eefbcd9b390db8883d12e2fee297b13287dc4 /gemfeed/2016-11-20-methods-in-c.html | |
| parent | 59d728b079e95876eb27a7169374b3d1060d80e4 (diff) | |
Publishing new version
Diffstat (limited to 'gemfeed/2016-11-20-methods-in-c.html')
| -rw-r--r-- | gemfeed/2016-11-20-methods-in-c.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gemfeed/2016-11-20-methods-in-c.html b/gemfeed/2016-11-20-methods-in-c.html index bf739205..fb71e73e 100644 --- a/gemfeed/2016-11-20-methods-in-c.html +++ b/gemfeed/2016-11-20-methods-in-c.html @@ -8,7 +8,7 @@ </head> <body> <h1>Methods in C</h1> -<p class="quote"><i>Published by Paul Buetow 2016-11-20</i></p> +<p class="quote"><i>Published by Paul at 2016-11-20</i></p> <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 straightforward to use.</p> <h2>Example</h2> <p>Let's have a look at the following sample program. 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> @@ -76,7 +76,7 @@ mult.calculate(mult,a,b)); <p class="footer"> Generated with <a href="https://codeberg.org/foozone/gemtexter">Gemtexter</a> | served by <a href="https://www.OpenBSD.org">OpenBSD</a>/<a href="https://man.openbsd.org/httpd.8">httpd(8)</a> | -<a href="https://www2.foo.zone/site-mirrors.html">Site Mirrors</a> +<a href="https://www2.buetow.org/site-mirrors.html">Site Mirrors</a> </p> </body> </html> |
