summaryrefslogtreecommitdiff
path: root/gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-08-25 23:17:19 +0300
committerPaul Buetow <paul@buetow.org>2024-08-25 23:17:19 +0300
commitfd3e1f9b498f7f381d505f875dceaa8b9878f756 (patch)
treea963ef58ab938f38e90a8710f5e374f86c46d7c9 /gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html
parent156b8953794159bcf395bef4f0fea2d28a874356 (diff)
Update content for html
Diffstat (limited to 'gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html')
-rw-r--r--gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html b/gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html
index 7c501d60..844b52d3 100644
--- a/gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html
+++ b/gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html
@@ -98,7 +98,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Not complicated at all, but nice to know and helps to make the code easier to read!</span><br />
<br />
-<h2 style='display: inline' id='thats-not-oop-though'>That&#39;s not OOP, though</h2><br />
+<h2 style='display: inline' id='that-s-not-oop-though'>That&#39;s not OOP, though</h2><br />
<br />
<span>However, that&#39;s not really how it works in object-oriented languages such as Java and C++. The method call in this example is not a method call as "mult" and "div" in this example are not "message receivers". I mean that the functions can not access the state of the "mult" and "div" struct objects. In C, you would need to do something like this instead if you wanted to access the state of "mult" from within the calculate function, you would have to pass it as an argument:</span><br />
<br />