diff options
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> |
