Chapter 6 - Structures
|Ex No||Pg No||Exercise||Solution||Solved by|
Our version of
|Listing krx601||Ben Pfaff|
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.
|Listing krx602||Barrett Drawdy|
Write a cross-referencer that prints a list of all words in a document, and, for each word, a list of the line numbers on which it occurs. Remove noise words like "the," "and," and so on.
|Listing krx603||Richard Heathfield|
Write a program that prints the distinct words in its input sorted into decreasing order of frequency of occurrence. Precede each word by its count.
|Listing krx604||Bryan Williams|
Write a function
|Listing krx605||Paul Griffiths, Gregory Pietsch|
Implement a simple version of the
|Listing krx606||Barrett Drawdy|