All Questions
Tagged with data-visualization c
4 questions
3
votes
1
answer
90
views
Bar graph of Easter date distribution
Computing Easter for a given year is a classic computational problem.
It is also one of the few cases when code seems to just have to live with magic numbers.
Alternative to magic numbers: Decoding ...
8
votes
2
answers
5k
views
Print the frequency of characters as a horizontal histogram
Well, I've used some of the feedback from my last posting to improve how I wrote this program. Mainly using the void parameter in main, initializing my int array to zero without using a for-loop, and ...
5
votes
1
answer
128
views
Trie Implementation, Graph Visualization and Auto-Completion in C
Given a list of strings (say a text file containing some C symbols: c-symbols.txt), the program can:
Generate a graph of the underlying trie (-p/--prefix can be specified to inspect a
specific prefix ...
3
votes
2
answers
1k
views
K&R Exercise 1-13. Printing histogram of word lengths (horizontal variant)
I'm going through the K&R book (2nd edition, ANSI C ver.) and want to get the most from it. How does the following solution look to you? Note that, for the sake of exercise, I don't want to use ...