Computer Information
Here are a collection of articles I have written answering
some questions my
friends & colleagues have often asked me so there seemed to be
a general
need for them. Some are for users
& some are
for programmers.
For Users
For
Programmers
- The C++ 'const'
Declaration: Why &
How. The 'const' keyword of the 'C++' language is one of its
most
inconvenient & confusing non Object Oriented features.
Typically it causes
frustrating compiler complaints when trying to call certain functions
in
certain circumstances that really ought to be okay. It also has a
confusing
syntax. This is my attempt to explain why 'const' got into the
language, how it
works & what the syntax is.
- Why C has Pointers.
Understanding &
using 'pointers' as well as variables is almost vital to programming in
the 'C'
language but most tutorials only state how to use it and don't explain
why they
exist in the first place. This is a pity because knowing why can
greatly help
understanding how to use them. This is my, somewhat cynical,
explanation of why
'pointers' are in the language.
- What
is Object Oriented
Programming: Object Oriented Programming seems a lot more
difficult than it
really is because it is often enthusiastically advocated but rarely
given a
simple explanation without the hype. This is my attempt at a simple
straightforward explanation without the hype.