Strict Standards: Declaration of action_plugin_importoldindex::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /freeola/users/0/0/sr0193000/htdocs/dokuwiki/lib/plugins/importoldindex/action.php on line 8

Strict Standards: Declaration of action_plugin_include::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /freeola/users/0/0/sr0193000/htdocs/dokuwiki/lib/plugins/include/action.php on line 140

Strict Standards: Declaration of action_plugin_discussion::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /freeola/users/0/0/sr0193000/htdocs/dokuwiki/lib/plugins/discussion/action.php on line 955

Strict Standards: Declaration of action_plugin_blog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /freeola/users/0/0/sr0193000/htdocs/dokuwiki/lib/plugins/blog/action.php on line 154

Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /freeola/users/0/0/sr0193000/htdocs/dokuwiki/lib/plugins/importoldchangelog/action.php on line 157

Deprecated: Assigning the return value of new by reference is deprecated in /freeola/users/0/0/sr0193000/htdocs/dokuwiki/inc/parserutils.php on line 205

Deprecated: Assigning the return value of new by reference is deprecated in /freeola/users/0/0/sr0193000/htdocs/dokuwiki/inc/parserutils.php on line 208

Deprecated: Assigning the return value of new by reference is deprecated in /freeola/users/0/0/sr0193000/htdocs/dokuwiki/inc/parserutils.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in /freeola/users/0/0/sr0193000/htdocs/dokuwiki/inc/parserutils.php on line 530

Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /freeola/users/0/0/sr0193000/htdocs/dokuwiki/inc/cache.php on line 291

Deprecated: Function split() is deprecated in /freeola/users/0/0/sr0193000/htdocs/dokuwiki/inc/auth.php on line 154

Strict Standards: Only variables should be passed by reference in /freeola/users/0/0/sr0193000/htdocs/dokuwiki/doku.php on line 71
====== Code - Answers as the Source ====== The source is a means to show answers. Questions cannot always be answered by the machine, but those that can will save some of the linear concept of time. And if time is the stuff that life is made of, then perhaps the source could save your life. I have often answered questions with the source. You may browse those answers if you desire and perhaps seek your own questions. If the answers do not make sense or do not work for you, there may be [[code:readme|other answers]] to that problem as well. Take what you will from this, otherwise take what you won't. ===== Ada ===== * **[[code:ada:dsa-ex0|DSA Warm-Up Exercise, 2003]]** - This was the warm-up exercise for my Data Structure and Algorithms course in second year at the University of Glasgow. * **[[code:ada:fibonacci|DSA Exercise 2, 2003 (i.e., Original Fibonacci Program)]]** - This was a second year computing assignment in which we had to write a Fibonacci algorithm. ===== C ===== * **[[code:c:fibonacci|Fibonacci Generator, 2004]]** - A fairly acute Fibonacci sequence generator written in the C programming language (single file version). * **[[code:c:fibonacci_2|Fibonacci Generator, 2005]]** - A fairly acute Fibonacci sequence generator written in the C programming language (library version). ===== C# ===== * **[[code:c_sharp:fibonacci|Fibonacci Generator (fibcsharp), 2006]]** - And once again, a fairly acute Fibonacci sequence generator. This time written in the C# programming language. ===== Haskell ===== * **[[code:haskell:fibonacci|General Haskell Functions]]** - Various Haskell functions that I have written (including a Fibonacci generator). ===== Inform ===== * **[[code:inform:fibonacci|Fibonacci Generator Simple]]** - A very basic Fibonacci sequence generator written in the Inform 6 programming language. ===== Java ===== * **[[code:java:fibonacci|Fibonacci Generator (javafib), Christmas 2004]]** - A fairly acute Fibonacci sequence generator written in the Java programming language. ===== PHP ===== * **[[code:php:fibonacci|Fibonacci Generator (phpfib), Unfinished]]** - A fairly acute Fibonacci sequence generator written in the PHP scripting language. * **[[code:php:source|Source, Unfinished]]** - "Source" is a content management system for publishing source code on the world wide web and for allowing the discussion of that source code. * **[[code:php:txtsql_mailbox|txtSQLMailbox]]** - A conversion of someone else's program, phpMailBox, to use txtSQL instead of MySQL. ===== Python ===== * **[[code:python:fibonacci|Fibonacci Generator, 2006]]** - A fairly acute Fibonacci sequence generator written in the Python programming language. ===== Other Answers ===== * **[[code:readme|Readme]]** - A short introduction to compiling and using the source code on this website. * **[[code:musings|Musings]]** - Some of my thoughts about programming and programming languages.