arnuld wrote:
there is a solution on "clc-wiki" for exercise 1.17 of K&R2:
http://clc-wiki.net/wiki/K%26R2_solu..._1:Exercise_17
i see this uses pointers whereas K&R2 have not discussed pointers yet.
It doesn't use pointer notation for array access. It uses array
indexing notation only. The parameters for the functions can easily be
replaced by char buffer[] without any change.
It's impossible to use arrays without using pointers, whether it's
visible or not. The example you've cited does not use pointer
notation, so your complaint is invalid.
i have created a solution myself by modifying the example programme of
section 1.19.
i tried to find the source-code of K&R2 using Google. i found the home
page of K&R2 but not he source-code of book.
Do you mean the sources for the programs given in the book? Why do you
need them separately? Just extract them from the book itself.
since my solution is a
modified version of the example programme from the book i wan to know
i can submit that solution to clc-wiki.
does anybody have any idea about this ?
Yes, first register on the site, then contact one of the admins,
(Flash Gordon or Netocrat.)