I just want to say thanks again to all the people on this forum who have 
provided so much help to me.  But I have a suggestion to those of you who 
provide sample code and books.

Don't use intergers as the central type in the demo.

For example, when describing arrays most examples go something like this:

int my_array[10];

or:

int* my_array;
my_array = new int[10];

As a non-C programmer I find this confusing; I can't separate the pointers from 
the objects.  Especially when the writer then goes into the benifits of pointer 
arithmatic (of which it seems supporters of C are very proud).

Oh, and don't use strings either [char* is confusing too].  Use an abstract 
type such as PERSON or MY_TYPE.  So the example becomes:

person my_array[10];

Now it is easy for us non-c programmers to tell the difference between an 
access to an object and a pointer manipulation.
  
Just my two cents worth.

Jimmy J. Johnson

Reply via email to