M
mdh
In most of the exercises that K&R write, there seems to be a
relationship to some library function or some aspect of C that is used
later. So, quick question to those more experienced programmers. Other
than this being an illustration of the use of structs, is this
illustrative of some aspects of C that you use all the time.
Thanks as usual.
Exercise 6-2
Write a program that reads a C program and prints in alphabetical
order each group of
variable names that are identical in the first 6 characters, but
different somewhere thereafter. Don't count
words within strings and comments. Make 6 a parameter that can be set
from the command line.
<<<<<<<
relationship to some library function or some aspect of C that is used
later. So, quick question to those more experienced programmers. Other
than this being an illustration of the use of structs, is this
illustrative of some aspects of C that you use all the time.
Thanks as usual.
Exercise 6-2
Write a program that reads a C program and prints in alphabetical
order each group of
variable names that are identical in the first 6 characters, but
different somewhere thereafter. Don't count
words within strings and comments. Make 6 a parameter that can be set
from the command line.
<<<<<<<